Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 0 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -294,12 +294,6 @@ jobs:
- uses: ./.github/actions/setup-go
- run: npm ci
- run: npx hereby generate
- run: npx hereby generate:enums
- run: npx hereby generate:ast
- run: npx hereby generate:vendor
- run: node ./tsc/internal/lsp/lsproto/_generate/fetchModel.mts
- run: node ./tsc/internal/lsp/lsproto/_generate/generate.mts
- run: npx hereby generate:extension
- run: npx hereby check:scripts
- run: git add .
- run: git diff --staged --exit-code --stat
Expand Down
10 changes: 9 additions & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,12 +103,20 @@ npx hereby build # Build the native compiler into built/local/tsc
npx hereby test # Run compiler and language-service Go tests
npx hereby test:all # Also run benchmarks, tools, and API tests
npx hereby lint # Run custom golangci-lint for both Go modules
npx hereby generate # Regenerate compiler sources and bundled assets
npx hereby generate:go # Run the generators also exposed through go generate
npx hereby generate # Regenerate all sources, assets, localization, and vendored files
npx hereby format # Format Go, TypeScript, JSON, and YAML
npx hereby check:format # Check formatting without changing files
npx hereby tidy # Tidy both modules and synchronize go.work
```

Generation is owned by `Herebyfile.mjs`; Go directives forward to the same
`generate:*` tasks for compatibility. Use a subtask such as
`npx hereby generate:diagnostics` to run one generator group, and pass `--force`
to bypass incremental caches. `generate` includes every generator and fetches
the pinned LSP model when its local cache is missing or stale. Use
`generate:go` for the narrower scope of `go generate ./...` in the `tsc` module.

Package-specific commands:

```bash
Expand Down
Loading
Loading