2021-11-05 14:13:28 +01:00
|
|
|
(executable
|
2021-11-05 16:55:19 +01:00
|
|
|
(public_name permap)
|
2021-12-07 23:18:07 +01:00
|
|
|
(modules
|
2021-12-22 11:27:53 +01:00
|
|
|
plant
|
|
|
|
|
db
|
2021-12-07 23:18:07 +01:00
|
|
|
app
|
|
|
|
|
content
|
|
|
|
|
db
|
|
|
|
|
login
|
|
|
|
|
permap
|
|
|
|
|
register
|
|
|
|
|
template
|
|
|
|
|
user
|
|
|
|
|
user_profile
|
|
|
|
|
add_plant)
|
2021-11-07 09:47:15 +01:00
|
|
|
(libraries
|
2021-12-07 23:18:07 +01:00
|
|
|
uuidm
|
2021-12-06 22:44:14 +01:00
|
|
|
caqti.blocking
|
|
|
|
|
caqti-driver-sqlite3
|
2021-11-07 09:47:15 +01:00
|
|
|
bos
|
|
|
|
|
directories
|
|
|
|
|
dream
|
|
|
|
|
emile
|
|
|
|
|
omd
|
|
|
|
|
safepass
|
|
|
|
|
sqlite3_utils
|
|
|
|
|
lambdasoup)
|
2021-11-07 00:31:32 +01:00
|
|
|
(preprocess
|
|
|
|
|
(pps lwt_ppx)))
|
2021-11-05 16:55:19 +01:00
|
|
|
|
2021-12-06 19:44:27 +01:00
|
|
|
(executable
|
|
|
|
|
(name map)
|
|
|
|
|
(modules map)
|
|
|
|
|
(libraries js_of_ocaml brr)
|
|
|
|
|
(modes js)
|
|
|
|
|
(js_of_ocaml
|
|
|
|
|
(javascript_files leaflet/leaflet.js))
|
|
|
|
|
(preprocess
|
|
|
|
|
(pps js_of_ocaml-ppx)))
|
|
|
|
|
|
2021-11-05 16:55:19 +01:00
|
|
|
(rule
|
|
|
|
|
(targets template.ml)
|
|
|
|
|
(deps template.eml.html)
|
|
|
|
|
(action
|
|
|
|
|
(run dream_eml %{deps} --workspace %{workspace_root})))
|
|
|
|
|
|
|
|
|
|
(rule
|
|
|
|
|
(targets login.ml)
|
|
|
|
|
(deps login.eml.html)
|
|
|
|
|
(action
|
|
|
|
|
(run dream_eml %{deps} --workspace %{workspace_root})))
|
|
|
|
|
|
|
|
|
|
(rule
|
|
|
|
|
(targets register.ml)
|
|
|
|
|
(deps register.eml.html)
|
|
|
|
|
(action
|
|
|
|
|
(run dream_eml %{deps} --workspace %{workspace_root})))
|
|
|
|
|
|
2021-12-07 23:18:07 +01:00
|
|
|
(rule
|
|
|
|
|
(targets add_plant.ml)
|
|
|
|
|
(deps add_plant.eml.html)
|
|
|
|
|
(action
|
|
|
|
|
(run dream_eml %{deps} --workspace %{workspace_root})))
|
|
|
|
|
|
2021-11-07 18:52:31 +01:00
|
|
|
(rule
|
|
|
|
|
(targets user_profile.ml)
|
|
|
|
|
(deps user_profile.eml.html)
|
|
|
|
|
(action
|
|
|
|
|
(run dream_eml %{deps} --workspace %{workspace_root})))
|
|
|
|
|
|
2021-11-05 16:55:19 +01:00
|
|
|
(rule
|
|
|
|
|
(target content.ml)
|
|
|
|
|
(deps
|
2021-12-06 19:44:27 +01:00
|
|
|
(source_tree content)
|
|
|
|
|
(file content/assets/js/map.js))
|
2021-11-05 16:55:19 +01:00
|
|
|
(action
|
|
|
|
|
(with-stdout-to
|
|
|
|
|
%{null}
|
|
|
|
|
(run ocaml-crunch -m plain content -o %{target}))))
|