mirror of
https://github.com/CatalaLang/catala.git
synced 2024-11-09 22:16:10 +03:00
508992de33
This enables the HTML output to work without a custom Pygments installation (or the proper venv activated)
24 lines
550 B
Plaintext
24 lines
550 B
Plaintext
(library
|
|
(name literate)
|
|
(public_name catala.literate)
|
|
(libraries re catala_utils surface ubase uutf))
|
|
|
|
(rule
|
|
(target pygment_lexers.ml)
|
|
(action
|
|
(progn
|
|
(copy
|
|
../../syntax_highlighting/en/pygments/catala_en_lexer/lexer.py
|
|
lexer_en.py)
|
|
(copy
|
|
../../syntax_highlighting/fr/pygments/catala_fr_lexer/lexer.py
|
|
lexer_fr.py)
|
|
(copy
|
|
../../syntax_highlighting/pl/pygments/catala_pl_lexer/lexer.py
|
|
lexer_pl.py)
|
|
(run ocaml-crunch -e py -m plain -o %{target} .))))
|
|
|
|
(documentation
|
|
(package catala)
|
|
(mld_files literate))
|