Skip to content

Commit 5af9cc7

Browse files
committed
docs(AI): add minsize and allocs to commands to run (#13096)
1 parent 9f924f6 commit 5af9cc7

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

AGENTS.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,10 +46,12 @@ Key commands (tools already installed):
4646
just ready # Run all checks (use after commits)
4747
just fmt # Format code (run after modifications)
4848
just check # Check code
49-
just test # Run tests
49+
just test # Run tests
5050
just lint # Run linting
5151
just ast # Update generated files (when oxc_ast changes)
5252
just conformance # Conformance tests (when Rust code changes)
53+
just minsize # Update minification size snapshots (run when oxc_minifier changes)
54+
just allocs # Update allocation snapshots (run when oxc_parser changes)
5355

5456
pnpm build-dev # Build Node.js bindings
5557
pnpm test # Node.js tests

justfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -230,6 +230,9 @@ website path:
230230
cargo run -p website -- linter-cli > {{path}}/src/docs/guide/usage/linter/generated-cli.md
231231
cargo run -p website -- linter-schema-markdown > {{path}}/src/docs/guide/usage/linter/generated-config.md
232232

233+
minsize:
234+
cargo minsize
235+
233236
minifier-diff:
234237
#!/usr/bin/env bash
235238
cargo minsize --compress-only pr

0 commit comments

Comments
 (0)