diff options
Diffstat (limited to 'html/build.sh')
-rwxr-xr-x | html/build.sh | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/html/build.sh b/html/build.sh index 722e1d3..816c324 100755 --- a/html/build.sh +++ b/html/build.sh @@ -1,5 +1,23 @@ #!/bin/sh +mkdir -p ../dist/public_html + cp -r ./public ../dist/public_html +mv staticsimponic/turing-machine ../dist/public_html +mv staticsimponic/euler-golf ../dist/public_html +mv staticsimponic/godel-explorer ../dist/public_html + +cd the-abstraction-engine/ +npm install +npm run build +cd .. +cp -r the-abstraction-engine/dist ../dist/public_html/the-abstraction-engine + +mkdir -p ../dist/fruitvote +cd fruitvote +go build -o ../../dist/fruitvote/fruitvote +cd .. +cp start.sh ../dist/fruitvote/start.sh echo "finished building HTML" + |