The Bjolang grammar is a resource, so bjo publish copies it
The module reads grammars/bjolang from beside its src/, found from its own DLL. Declared with (resources "grammars"), bjo publish copies it to the same place relative to the module, and a published program highlights Bjolang. Version 0.1.1. 🤖 Generated with [ECA](https://eca.dev) (anthropic/claude-opus-5-5) Co-Authored-By: eca-agent <git@eca.dev>
This commit is contained in:
parent
6bb44bc05f
commit
e51b7170a9
2 changed files with 9 additions and 3 deletions
|
|
@ -1,6 +1,6 @@
|
|||
(package
|
||||
(name (textmate-bjolang))
|
||||
(version "0.1.0")
|
||||
(version "0.1.1")
|
||||
(description "Syntax highlighting for Bjolang: VS Code's TextMate grammars and themes, through TextMateSharp, as (text xml) nodes.")
|
||||
(license "MPL-2.0")
|
||||
|
||||
|
|
@ -12,5 +12,9 @@
|
|||
(packages
|
||||
(nuget (id "TextMateSharp.Grammars") (version "[2.0.4,2.1)")))
|
||||
|
||||
;; Bjolang's own grammar, read at run time from beside src/. Declared so
|
||||
;; that bjo publish copies it along with the module.
|
||||
(resources "grammars")
|
||||
|
||||
;; A library: there is no src/main.bjo.
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue