tilde.club/html/build.sh

24 lines
529 B
Bash
Raw Normal View History

2024-03-09 02:25:48 -05:00
#!/bin/sh
2024-03-09 23:29:25 -05:00
mkdir -p ../dist/public_html
2024-03-09 02:25:48 -05:00
cp -r ./public ../dist/public_html
2024-03-09 23:29:25 -05:00
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
2024-03-09 23:31:14 -05:00
cd ..
2024-03-09 02:25:48 -05:00
echo "finished building HTML"
2024-03-09 23:29:25 -05:00