-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathjustfile
28 lines (21 loc) · 904 Bytes
/
justfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
default:
@just --list
run file="assistants/templates/demo.json":
@deno task run {{file}}
replay file:
@deno task replay {{file}}
create-assistant:
@deno task create-assistant
clean-assistant-files:
rm -rf assistants/assistant_*.json
rm -rf assistants/replays
mkdir assistants/replays && touch assistants/replays/.gitkeep
vhs-record:
@just compile
@VHS_RECORDING=true vhs demo.tape
compile:
@deno compile --allow-run --allow-net --allow-env --allow-read --allow-write --output dist/wilson main.jsx
@deno compile --allow-run --allow-net --allow-env --allow-read --allow-write --output dist/wilson-replay lib/replay-assistant.ts
@deno compile --allow-run --allow-net --allow-env --allow-read --allow-write --output dist/wilson-create-assistant lib/create-assistant.jsx
publish-ghcr:
docker buildx build --platform linux/amd64,linux/arm64 -t ghcr.io/simonneutert/wilson:main --push .