summaryrefslogtreecommitdiff
path: root/html/build.sh
blob: 816c324addf501dcd2511b2b08a75a7d8f9c548d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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"