-
Notifications
You must be signed in to change notification settings - Fork 336
/
Copy pathdune
85 lines (79 loc) · 1.71 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
(subdir
asset/css/
(rule
(target main.css)
(deps
(:config %{project_root}/tailwind.config.js)
(:input %{project_root}/src/ocamlorg_frontend/css/styles.css)
(source_tree %{project_root}/src/ocamlorg_frontend))
(action
(chdir
%{project_root}
(run tailwindcss -m -c %{config} -i %{input} -o %{target})))))
(subdir
asset/
(rule
(target planet.xml)
(deps
(source_tree %{project_root}/data/planet)
(source_tree %{project_root}/data/planet-local-blogs)
(:gen_feed %{project_root}/tool/ood-gen/bin/feed.exe))
(action
(chdir
%{project_root}
(with-stdout-to
%{target}
(run %{gen_feed} planet))))))
(subdir
asset/
(rule
(target news.xml)
(deps
(source_tree %{project_root}/data/news)
(:gen_feed %{project_root}/tool/ood-gen/bin/feed.exe))
(action
(chdir
%{project_root}
(with-stdout-to
%{target}
(run %{gen_feed} news))))))
(subdir
asset/
(rule
(target changelog.xml)
(deps
(source_tree %{project_root}/data/changelog)
(:gen_feed %{project_root}/tool/ood-gen/bin/feed.exe))
(action
(chdir
%{project_root}
(with-stdout-to
%{target}
(run %{gen_feed} changelog))))))
(subdir
asset/
(rule
(target events.xml)
(deps
(source_tree %{project_root}/data/events)
(:gen_feed %{project_root}/tool/ood-gen/bin/feed.exe))
(action
(chdir
%{project_root}
(with-stdout-to
%{target}
(run %{gen_feed} events))))))
(subdir
asset/
(rule
(target jobs.xml)
(deps
(:gen_feed %{project_root}/tool/ood-gen/bin/feed.exe)
%{project_root}/data/jobs.yml)
(action
(chdir
%{project_root}
(with-stdout-to
%{target}
(run %{gen_feed} job))))))
(data_only_dirs playground data practice)