forked from ocaml/ocaml.org
-
Notifications
You must be signed in to change notification settings - Fork 0
/
dune
69 lines (65 loc) · 1.52 KB
/
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
(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))))))
(subdir
asset/
(rule
(target video.xml)
(deps
(:gen_feed %{workspace_root}/tool/ood-gen/bin/feed.exe)
%{workspace_root}/data/video-youtube.yml
%{workspace_root}/data/video-watch.yml)
(action
(chdir
%{workspace_root}
(with-stdout-to
%{target}
(run %{gen_feed} video)))))
(rule
(target events.xml)
(deps
(source_tree %{workspace_root}/data/events)
(:gen_feed %{workspace_root}/tool/ood-gen/bin/feed.exe))
(action
(chdir
%{workspace_root}
(with-stdout-to
%{target}
(run %{gen_feed} events))))))
(data_only_dirs playground data practice)