summaryrefslogtreecommitdiff
path: root/html/build.sh
blob: 6bc3571ea19817b3d4c116cf8a94e35cb81e3fae (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
cp start.sh ../dist/fruitvote/start.sh
cd ..

echo "finished building HTML"