-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathjustfile
More file actions
51 lines (39 loc) · 1.09 KB
/
Copy pathjustfile
File metadata and controls
51 lines (39 loc) · 1.09 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
# List available recipes
default:
@just --list --list-submodules
# Remove dist/ contents (preserves dist/ for symlinks).
cleanup:
bunx foundry-build clean
# Full release build: minified, hashed filenames.
build: cleanup
bunx foundry-build build
# One-shot dev build: unminified, stable filenames, sourcemaps.
build-dev:
bunx foundry-build dev
# Dev build + watch mode (incremental rebuilds on change).
dev:
bunx foundry-build dev --watch
# Run unit tests.
test *args:
bunx vitest run {{args}}
# Type-check only (no emit).
typecheck *args:
bunx tsgo --noEmit {{args}}
# Lint sources.
lint *args:
bunx oxlint {{args}}
# Apply formatter in place.
format *args:
bunx oxfmt {{args}}
# Verify formatting without writing.
format-check *args:
bunx oxfmt --check {{args}}
# Symlink dist/ into the local Foundry modules dir.
foundry-link:
bunx foundry-symlink link --source dist
# Remove the Foundry modules symlink.
foundry-unlink:
bunx foundry-symlink unlink
# Checks the translations for missing keys and tokens
check-translations:
bunx foundry-i18n-check