-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathjustfile
More file actions
42 lines (32 loc) · 949 Bytes
/
justfile
File metadata and controls
42 lines (32 loc) · 949 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
# websys.mbt task runner
# Claude Code
claude *args:
claude --dangerously-skip-permissions {{args}}
# Check generated bindings
check:
moon check
# Format generated code
fmt:
moon fmt
# Regenerate bindings from WebIDL specs (npm version)
generate:
rm -f ./src/*.mbt && webidl-bindgen.mbt -o ./src/ && moon fmt
# Regenerate bindings from local webidl-bindgen.mbt build
generate-local:
rm -f ./src/*.mbt && bun ../webidl-bindgen.mbt/_build/js/release/build/webidl-bindgen.js -o ./src/ && moon fmt
# Install test dependencies (first time setup)
setup-test:
cd test && bun install && bunx playwright install chromium
# Build tests
build-test:
cd test && moon build --target js --release
# Run tests (build + execute)
test: build-test
cd test && bun run run.mjs
# Run tests without rebuilding
test-run:
cd test && bun run run.mjs
# Install npm dependencies
install:
bun install
cd test && bun install