Skip to content

Commit 71a64b9

Browse files
committed
[new release] tm-grammars (1.0.0)
CHANGES: - Published OCaml package that exposes TextMate grammars as JSON strings. - Each language is a findlib sublibrary (e.g. `tm-grammars.ocaml`, `tm-grammars.tsx`). - Downstream users depend on `tm-grammars` and add only the sublibraries they need to `(libraries ...)`. - Generated package setup driven by `sources.json`.
1 parent f7006d1 commit 71a64b9

File tree

1 file changed

+37
-0
lines changed
  • packages/tm-grammars/tm-grammars.1.0.0

1 file changed

+37
-0
lines changed
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
opam-version: "2.0"
2+
synopsis: "TextMate grammars as OCaml strings"
3+
description: "OCaml package that exposes TextMate grammars as JSON strings."
4+
maintainer: ["David Sancho <dsnxmoreno@gmail.com>"]
5+
authors: ["David Sancho <dsnxmoreno@gmail.com>"]
6+
license: "MIT"
7+
homepage: "https://github.com/davesnx/tm-grammars"
8+
bug-reports: "https://github.com/davesnx/tm-grammars/issues"
9+
depends: [
10+
"dune" {>= "3.17"}
11+
"ocaml"
12+
"odoc" {with-doc}
13+
]
14+
build: [
15+
["dune" "subst"] {dev}
16+
[
17+
"dune"
18+
"build"
19+
"-p"
20+
name
21+
"-j"
22+
jobs
23+
"@install"
24+
"@runtest" {with-test}
25+
"@doc" {with-doc}
26+
]
27+
]
28+
dev-repo: "git+https://github.com/davesnx/tm-grammars.git"
29+
url {
30+
src:
31+
"https://github.com/davesnx/tm-grammars/releases/download/1.0.0/tm-grammars-1.0.0.tbz"
32+
checksum: [
33+
"sha256=a44a4f0d07ee70c464a13960e8250c4913d70737161eb89a2b9fbc4c1e166916"
34+
"sha512=184a5cb893392366c22438a87f6bf5d414cb2de129ccf0bd5c4748971f5c8e07da2d71795de5d23290b23b0a49753bcfff6e83a45d13c5295029f0eed5aa12fb"
35+
]
36+
}
37+
x-commit-hash: "35481e590f4c80b55c7a904c0581fae1b5064cf1"

0 commit comments

Comments
 (0)