forked from jgmontoya/shaka
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathjustfile
More file actions
55 lines (40 loc) · 1.49 KB
/
Copy pathjustfile
File metadata and controls
55 lines (40 loc) · 1.49 KB
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
47
48
49
50
51
52
53
54
55
# Shaka — task runner
# Install just: https://github.com/casey/just
# Default: list available recipes
default:
@just --list
# ── Dev ───────────────────────────────────────────────────────────────
# Run all checks (typecheck + lint + tests)
check:
bun run check
# Run tests
test *args:
bun test {{ args }}
# Run typechecker
typecheck:
bun run typecheck
# Run linter
lint:
bun run lint
# Fix lint issues
lint-fix:
bun run lint:fix
# Format code
format:
bun run format
# ── E2E (Docker) ──────────────────────────────────────────────────────
# Run Claude Code e2e tests in Docker
e2e-claude:
docker compose run --rm --build claudecode bash test/e2e/claudecode.sh
# Run opencode e2e tests in Docker
e2e-opencode:
docker compose run --rm --build opencode bash test/e2e/opencode.sh
# Run all e2e tests
e2e: e2e-claude e2e-opencode
# ── Docker shells ─────────────────────────────────────────────────────
# Open interactive shell in Claude Code container
shell-claude:
docker compose run --rm --build claudecode sh
# Open interactive shell in opencode container
shell-opencode:
docker compose run --rm --build opencode sh