forked from ocaml/ocaml.org
-
Notifications
You must be signed in to change notification settings - Fork 0
/
dune
43 lines (40 loc) · 996 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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
(subdir
asset/css/
(rule
(target main.css)
(deps
(:config %{workspace_root}/tailwind.config.js)
(:input %{workspace_root}/src/ocamlorg_frontend/css/styles.css)
(source_tree %{workspace_root}/src/ocamlorg_frontend))
(action
(chdir
%{workspace_root}
(run tailwindcss -m -c %{config} -i %{input} -o %{target})))))
(subdir
asset/
(rule
(target planet.xml)
(deps
(source_tree %{workspace_root}/data/planet)
(source_tree %{workspace_root}/data/planet-local-blogs)
(:gen_feed %{workspace_root}/tool/ood-gen/bin/feed.exe))
(action
(chdir
%{workspace_root}
(with-stdout-to
%{target}
(run %{gen_feed} planet))))))
(subdir
asset/
(rule
(target changelog.xml)
(deps
(source_tree %{workspace_root}/data/changelog)
(:gen_feed %{workspace_root}/tool/ood-gen/bin/feed.exe))
(action
(chdir
%{workspace_root}
(with-stdout-to
%{target}
(run %{gen_feed} changelog))))))
(data_only_dirs playground data practice)