- JetBrains plugin 1.4.0: semantic colours (builtin / vendor / own), template strings, brace handling, run configurations and a test console, package.ludic and package.lock.ludic editing (completion, docs, app preview, colour previews, asset navigation), External Libraries for the runtime and packages, doc pages for built-ins - ludic-lsp: go to definition for imports, document links, hover with inferred types, type definition, signature help with parameters, docs from docs/language - `import "dir"` resolves a barrel `dir/index.ludic` - package.ludic `entry`, `script` and `hook before|after <command>`; `ludic <script>`, `ludic script`, `ludic scripts` - `ludic test --verbose` and `--test NAME`; the test runner filters by name Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
10 lines
649 B
Markdown
10 lines
649 B
Markdown
bump: minor
|
|
type: feat
|
|
`package.ludic` gains `entry`, scripts and lifecycle hooks:
|
|
- `entry "src/game.ludic"` names the program `ludic run`/`build`/`bundle` compile. Without
|
|
it, the one file under `src/` that declares a `program` is used.
|
|
- `script "dev" "ludic run --headless"` defines a command: `ludic dev` (or `ludic script dev`)
|
|
runs it with any extra arguments, and `ludic scripts` lists them.
|
|
- `hook before|after <command> "…"` wraps `build`, `run`, `test`, `bundle`, `pack`, `get`, …
|
|
or a script. A failing `before` hook stops the command; `after` hooks run only on success.
|
|
- Quoted manifest values accept `\"` and `\\` escapes.
|