-
Notifications
You must be signed in to change notification settings - Fork 0
/
dune
27 lines (25 loc) · 990 Bytes
/
dune
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
(rule
(target OA-dictionnaire-EROFA.pdf)
(deps (sandbox always))
(action (run curl --fail-with-body -sS -O http://www.lambert-lucas.com/wp-content/uploads/2022/11/OA-dictionnaire-EROFA.pdf)))
;; add spurious dependencies to server.exe, so we can
;; make dune exec server.exe build the runtime deps of
;; the exe on top of the exe itself
(rule
(deps
(glob_files extension/*.zip)
(glob_files site/static/*)
site/static/books
;; no such thing as runtime-deps-of-tests. sigh. even building (alias runtest)
;; seems to do nothing
%{project_root}/doc-conversion/test/.test_ortografe.inline-tests/inline_test_runner_test_ortografe.exe
%{project_root}/dict-gen/test/.dict_gen_tests.inline-tests/inline_test_runner_dict_gen_tests.exe
%{project_root}/playground/foo.html
(sandbox always)
)
(action (copy site/server/server.exe server_all.exe)))
(rule
(target flow.svg)
(deps (sandbox always))
(mode promote)
(action (run dot -Tsvg %{dep:flow.dot} -o %{target})))