-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathjustfile
More file actions
46 lines (32 loc) · 954 Bytes
/
Copy pathjustfile
File metadata and controls
46 lines (32 loc) · 954 Bytes
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
default:
just --list
dev:
cargo r
remote-client-build:
cd remote-client && bun install && bun run build
remote-host-dev bind="127.0.0.1:8421":
cargo r -- serve --bind "{{ bind }}"
# Phone on same LAN: http://<this-machine-ip>:4271 (API proxied to {{ api }} on the host)
remote-client-dev api="http://127.0.0.1:8421":
cd remote-client && CRABCODE_REMOTE_API_ORIGIN="{{ api }}" bun run dev
dist-build *args:
just remote-client-build
dist build {{ args }}
preview:
./target/release/crabcode
dpreview:
./target/debug/crabcode
gen-themes:
bun run scripts/gen-themes.ts
bench-agents *args:
bun run scripts/bench-agents.ts {{ args }}
devdocs:
gittydocs dev _docs
log:
tail -f app.log
sync_readme:
cp README.md npm/README.md
# Release: bump versions, create release commit, and create a git tag.
# Usage: just tag [patch|minor|major]
tag bump="":
sh scripts/tag_and_release.sh {{ bump }}