forked from ocaml/ocaml.org
-
Notifications
You must be signed in to change notification settings - Fork 0
/
dune
39 lines (36 loc) · 917 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
(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 feed.xml)
(deps
(source_tree %{workspace_root}/data/planet)
(source_tree %{workspace_root}/data/planet-local-blogs)
(:ood_gen %{workspace_root}/tool/ood-gen/bin/gen.exe))
(action
(with-stdout-to
%{target}
(run %{ood_gen} planet_feed)))))
(subdir
asset/
(rule
(target changelog.xml)
(deps
(source_tree %{workspace_root}/data/changelog)
(:ood_gen %{workspace_root}/tool/ood-gen/bin/gen.exe))
(action
(with-stdout-to
%{target}
(run %{ood_gen} changelog_feed)))))
(data_only_dirs playground data)