summaryrefslogtreecommitdiffhomepage
path: root/services/blog/nuldoc
blob: a542a30faf31cf3738ec9bcd82b2cf2574d1e34f (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="127.0.0.1:8000" \
    --allow-env=VSCODE_TEXTMATE_DEBUG \
    "$base_dir/nuldoc-src/main.ts" \
    "$@"