tilde.club/html/build.sh
Lizzy Hunt 67e4b234d3
Some checks failed
continuous-integration/drone/push Build is failing
finish static page
2024-03-09 21:29:25 -07:00

24 lines
529 B
Bash
Executable File

#!/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"