feseur/build.sh

9 lines
227 B
Bash
Executable file

#!/usr/bin/bash
set -e
cd "$(dirname "$(realpath "$0")")"
./src/gen.ts
mkdir -p target
deno compile --allow-env --allow-read --output=target/todo src/todo.ts
deno compile --allow-all --output=target/service src/service.ts