slige/slige-run-docker.sh
2024-12-12 10:17:25 +01:00

19 lines
251 B
Bash
Executable File

#!/bin/bash
set -e
echo Text:
cat $1
echo Compiling $1...
deno run --allow-read --allow-write compiler/main.ts $1
echo Running out.slgbc...
cp out.slgbc runtime/
cd runtime/
docker build . -t sliger-buildenv
docker run --rm -it sliger-buildenv