-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdune
More file actions
96 lines (77 loc) · 1.94 KB
/
dune
File metadata and controls
96 lines (77 loc) · 1.94 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
; THIS FILE IS GENERATED by ./dune.py
; MANUAL CHANGES WILL BE LOST
(library
(name Collide)
(modules Ring Drawer Simulation Application GraphicalApplication)
(libraries General JsOfOCairo)
)
(executable
(name collide_cli)
(public_name collide_cli)
(modules collide_cli)
(libraries Collide cairo2)
)
(executable
(name collide_gtk)
(public_name collide_gtk)
(modules collide_gtk)
(libraries Collide cairo2 threads lablgtk2 cairo2-gtk)
)
(rule
(targets node_modules.sentinel)
(action (progn
(run %{bin:npm} install "file-saver@1.3.3")
(write-file node_modules.sentinel sentinel)
))
)
(rule
(targets FileSaver.js)
(deps node_modules.sentinel)
(action (progn
(with-stdout-to %{targets} (run %{bin:browserify} -s FileSaver node_modules/file-saver/FileSaver.min.js))
))
)
(executable
(name collide_browser)
(modules collide_browser)
(libraries Collide)
(preprocess (pps "js_of_ocaml-ppx"))
(js_of_ocaml (flags "+nat.js"))
)
(rule
(targets bootstrap.min.css)
(action (run %{bin:wget} https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css))
)
(rule
(targets bootstrap.min.js)
(action (run %{bin:wget} https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js))
)
(rule
(targets popper.min.js)
(action (run %{bin:wget} https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.9/umd/popper.min.js))
)
(rule
(targets jquery-3.2.1.slim.min.js)
(action (run %{bin:wget} https://code.jquery.com/jquery-3.2.1.slim.min.js))
)
(alias
(name collide_browser)
(deps collide_browser.html bootstrap.min.css bootstrap.min.js popper.min.js jquery-3.2.1.slim.min.js FileSaver.js collide_browser.bc.js)
)
(executable
(name unit_test)
(modules unit_test)
(libraries Collide)
)
(rule
(targets unit_test.sentinel)
(deps unit_test.bc)
(action (progn
(run %{exe:unit_test.bc})
(write-file unit_test.sentinel sentinel)
))
)
(alias
(name runtest)
(deps unit_test.sentinel)
)