-
Notifications
You must be signed in to change notification settings - Fork 326
/
dune
94 lines (88 loc) · 1.87 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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
(subdir
asset/css/
(rule
(target main.css)
(deps
%{workspace_root}/tool/tailwind/tailwindcss
(: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
%{workspace_root}/tool/tailwind/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 news.xml)
(deps
(source_tree %{workspace_root}/data/news)
(:gen_feed %{workspace_root}/tool/ood-gen/bin/feed.exe))
(action
(chdir
%{workspace_root}
(with-stdout-to
%{target}
(run %{gen_feed} news))))))
(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 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))))))
(subdir
asset/
(rule
(target jobs.xml)
(deps
(:gen_feed %{workspace_root}/tool/ood-gen/bin/feed.exe)
%{workspace_root}/data/jobs.yml)
(action
(chdir
%{workspace_root}
(with-stdout-to
%{target}
(run %{gen_feed} job))))))
(data_only_dirs playground data practice)