summaryrefslogtreecommitdiffhomepage
path: root/vhosts/blog/nuldoc
blob: 3ce9f0e2269947b765d2b1160b8af8505aea0f8c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/bash

base_dir="$(dirname "$BASH_SOURCE")"

# VSCODE_TEXTMATE_DEBUG is read by shiki, the syntax highlighter library
deno run \
    --allow-read="$base_dir" \
    --allow-write="$base_dir" \
    --allow-net="0.0.0.0:8000" \
    --allow-env=VSCODE_TEXTMATE_DEBUG \
    "$base_dir/nuldoc-src/main.ts" \
    "$@"