2024-03-09 02:25:48 -05:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
cp -r ./public ../dist/public_html
|
2024-03-09 23:42:08 -05:00
|
|
|
for dir in "turing-machine" "euler-golf" "godel"; do
|
2024-03-09 23:37:33 -05:00
|
|
|
mv staticsimponic/$dir ../dist/public_html/$dir
|
|
|
|
done
|
2024-03-09 23:29:25 -05:00
|
|
|
|
|
|
|
cd the-abstraction-engine/
|
|
|
|
npm install
|
2024-03-10 00:08:16 -05:00
|
|
|
npx vite build --base /~simponic/the-abstraction-engine/
|
2024-03-09 23:29:25 -05:00
|
|
|
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
|
2024-03-09 23:53:37 -05:00
|
|
|
cp start.sh ../../dist/fruitvote/start.sh
|
2024-03-10 18:47:52 -04:00
|
|
|
cp -r templates ../../dist/fruitvote/templates
|
|
|
|
cp -r fruits.json ../../dist/fruitvote/fruits.json
|
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
|
|
|
|