-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdune
More file actions
101 lines (96 loc) · 1.82 KB
/
dune
File metadata and controls
101 lines (96 loc) · 1.82 KB
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
95
96
97
98
99
100
101
(subdir
public/
(rule
(target index.css)
(deps
%{workspace_root}/tools/tailwindcss/tailwindcss
(:input %{workspace_root}/public/main.css)
(source_tree %{workspace_root}/public)
(source_tree %{workspace_root}/frontend))
(action
(chdir
%{workspace_root}
(run
%{workspace_root}/tools/tailwindcss/tailwindcss
-m
-i
%{input}
-o
%{target})))))
(subdir
public/
(rule
(alias client)
(target client.js)
(deps
(:script ../frontend/build.mjs)
(:entrypoints ../frontend/client/client/frontend/client/client.js)
(alias_rec ../frontend/melange)
(package frontend))
(action
(run
node
%{script}
%{entrypoints}
--output=./client.js
--extract=true
--env=%{profile}))))
(subdir
bin/
(rule
(target public.ml)
(deps
(file ../public/client.js)
(file ../public/index.css)
(file ../public/favicon.ico)
(source_tree ../public/fonts))
(action
(with-stdout-to
%{null}
(run
ocaml-crunch
-e
woff
-e
woff2
-e
js
-e
css
-e
ico
-m
plain
../public
-o
%{target})))))
(subdir
pegasus/lib/migrations/
(rule
(target data_store_migrations_sql.ml)
(deps
(source_tree ./data_store))
(action
(with-stdout-to
%{null}
(run ocaml-crunch -e sql -m plain ./data_store -o %{target})))))
(subdir
pegasus/lib/migrations/
(rule
(target user_store_migrations_sql.ml)
(deps
(source_tree ./user_store))
(action
(with-stdout-to
%{null}
(run ocaml-crunch -e sql -m plain ./user_store -o %{target})))))
(subdir
pegasus/lib
(rule
(target version.ml)
(deps (universe))
(action
(with-stdout-to
%{target}
(bash
"echo 'let commit_hash = \"pegasus '${GIT_REV:=$(git rev-parse --short HEAD 2>/dev/null || echo 'dev')}'\"'")))))