blob: 16de894f71ba601a68aeab92d2b7dbd0605f052e (
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
cp -r ./public ../dist/public_html
for dir in "turing-machine" "euler-golf" "godel"; do
mv staticsimponic/$dir ../dist/public_html/$dir
done
cd the-abstraction-engine/
npm install
npx vite build --base /~simponic/the-abstraction-engine/
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
cp -r templates ../../dist/fruitvote/templates
cp -r fruits.json ../../dist/fruitvote/fruits.json
cd ..
echo "finished building HTML"
|