[OCaml] Mobile-friendly clone of cgit.
feat add hilite and textmate-language dependencies
Add server-side syntax highlighting libraries as dependencies: - hilite (>= 0.5.0): HTML generation from TextMate grammar tokens - textmate-language (>= 0.6.0): TextMate grammar parsing and tokenization These will replace the client-side highlight.js dependency.
Changed files
dune-project
@@ -25,7 +25,9 @@
25
25
(crunch (>= 4.0.0))
26
26
(ocamlformat (and :with-dev-setup (= 0.29.0)))
27
27
(alcotest (and :with-test (>= 1.7.0)))
28
Removed:
(toml (>= 7.1.0)))
28
Added:
(toml (>= 7.1.0))
29
Added:
(hilite (>= 0.5.0))
30
Added:
(textmate-language (>= 0.6.0)))
29
31
(tags
30
32
(git "web interface")))
31
33
lib/dune
@@ -7,7 +7,7 @@
7
7
;; Public so that `dune build @doc` documents its modules: odoc skips
8
8
;; private libraries, which would leave the generated documentation empty.
9
9
(public_name ogit)
10
Removed:
(libraries dream dream-html git-unix toml)
10
Added:
(libraries dream dream-html git-unix toml hilite textmate-language)
11
11
(preprocess
12
12
(pps dream-html.ppx)))
13
13
ogit.opam
@@ -18,6 +18,8 @@
18
18
"ocamlformat" {with-dev-setup & = "0.29.0"}
19
19
"alcotest" {with-test & >= "1.7.0"}
20
20
"toml" {>= "7.1.0"}
21
Added:
"hilite" {>= "0.5.0"}
22
Added:
"textmate-language" {>= "0.6.0"}
21
23
"odoc" {with-doc}
22
24
]
23
25
build: [