tilde.club/html/build.sh
Lizzy Hunt d2e27afdac
All checks were successful
continuous-integration/drone/push Build is passing
fix html build
2024-03-09 21:37:33 -07:00

22 lines
461 B
Bash
Executable File

#!/bin/sh
cp -r ./public ../dist/public_html
for dir in "turing-machine" "euler-golf" "godel-explorer"; do
mv staticsimponic/$dir ../dist/public_html/$dir
done
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"