forked from
anil.recoil.org/monopam-myspace
My aggregated monorepo of OCaml code, automaintained
1(include dune.inc)
2
3(rule
4 (deps
5 (glob_files_rec *.mld)
6 (glob_files_rec *.svg)
7 (glob_files_rec *.png)
8 (glob_files_rec *.jpg)
9 (glob_files_rec *.jpeg)
10 (glob_files_rec *.gif)
11 (glob_files_rec *.webp)
12 (glob_files_rec *.mov)
13 (glob_files_rec static/*)
14 ../site-builder/lib-package-map.txt)
15 (action
16 (with-stdout-to
17 dune.inc.gen.raw
18 (run ../site-builder/gen_rules.exe))))
19
20(rule
21 (action
22 (with-stdout-to
23 dune.inc.gen
24 (run dune format-dune-file %{dep:dune.inc.gen.raw}))))
25
26(rule
27 (alias runtest)
28 (action
29 (diff? dune.inc dune.inc.gen)))