diff --git a/server/.gitignore b/server/.gitignore index eccd7b4a..9b55d532 100644 --- a/server/.gitignore +++ b/server/.gitignore @@ -1,2 +1,3 @@ /target/ +/scratch/ **/*.rs.bk diff --git a/server/test-scratch-project b/server/test-scratch-project new file mode 100644 index 00000000..a9d498ee --- /dev/null +++ b/server/test-scratch-project @@ -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 \ No newline at end of file