mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-04-20 20:55:50 +00:00
Add little harness to test against a new project without accidentally committing junk
This commit is contained in:
1
server/.gitignore
vendored
1
server/.gitignore
vendored
@@ -1,2 +1,3 @@
|
||||
/target/
|
||||
/scratch/
|
||||
**/*.rs.bk
|
||||
|
||||
12
server/test-scratch-project
Normal file
12
server/test-scratch-project
Normal file
@@ -0,0 +1,12 @@
|
||||
#!/bin/sh
|
||||
|
||||
set -e
|
||||
|
||||
if [ -d "scratch" ]
|
||||
then
|
||||
rm -rf scratch
|
||||
fi
|
||||
|
||||
mkdir -p scratch
|
||||
cp -r ../test-projects/test-model scratch
|
||||
cargo run -- serve scratch/test-model
|
||||
Reference in New Issue
Block a user