mirror of
https://git.sfja.dk/Mikkel/slige.git
synced 2025-01-18 10:36:31 +00:00
21 lines
212 B
Bash
21 lines
212 B
Bash
|
#!/bin/bash
|
||
|
|
||
|
set -e
|
||
|
|
||
|
FILE_FULL_PATH=$(readlink -f $1)
|
||
|
|
||
|
cd runtime
|
||
|
make
|
||
|
cd ..
|
||
|
|
||
|
cd web/public
|
||
|
deno task bundle
|
||
|
cd ../..
|
||
|
|
||
|
./runtime/build/sliger &
|
||
|
|
||
|
cd web
|
||
|
|
||
|
deno run --allow-net --allow-read main.ts $FILE_FULL_PATH
|
||
|
|