Remove old 'scratch project' test script, clean up .gitignore

This commit is contained in:
Lucien Greathouse
2019-08-27 18:23:05 -07:00
parent cacb02b7c8
commit 056fc5e087
2 changed files with 5 additions and 24 deletions

8
.gitignore vendored
View File

@@ -1,9 +1,11 @@
# Rust output directory
/target
/scratch-project
/server/failed-snapshots/
**/*.rs.bk
# Roblox model and place files in the root, used for debugging
/*.rbxm
/*.rbxmx
/*.rbxl
/*.rbxlx
# Snapshot files from the 'insta' Rust crate
**/*.snap.new

View File

@@ -1,21 +0,0 @@
#!/bin/sh
# Copies a project from 'test-projects' into a folder that can be messed with
# without accidentally checking the results into version control.
set -e
if [ ! -d "test-projects/$1" ]
then
echo "Pick a project that exists!"
exit 1
fi
if [ -d "scratch-project/$1" ]
then
rm -rf "scratch-project/$1"
fi
mkdir -p scratch-project
cp -r "test-projects/$1" scratch-project
cargo run -- serve "scratch-project/$1"