Improve make

This commit is contained in:
Alfred Melch 2019-08-05 11:23:56 +02:00
parent 9f69ce26b0
commit 53256578b6
2 changed files with 6 additions and 1 deletions

1
.gitignore vendored
View File

@ -1,5 +1,6 @@
.vscode/
build/
dist/
node_modules/
*.wat

View File

@ -1,7 +1,11 @@
build:
make clean
mkdir -p build
cp -r ./public/* ./build
cd ./benchmarking && npm run build
cp -r ./benchmarking/dist ./build/benchmarking
cd ./compare-algorithms && npm run build
cp -r ./compare-algorithms/dist ./build/polygon-simplification
clean:
rm -rf build