2021-11-05 14:13:28 +01:00
|
|
|
(executable
|
2021-11-05 16:55:19 +01:00
|
|
|
(public_name permap)
|
2021-11-07 00:31:32 +01:00
|
|
|
(modules app content db login permap register template user)
|
|
|
|
|
(libraries bos directories dream emile omd sqlite3_utils lambdasoup)
|
|
|
|
|
(preprocess
|
|
|
|
|
(pps lwt_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})))
|
|
|
|
|
|
|
|
|
|
(rule
|
|
|
|
|
(target content.ml)
|
|
|
|
|
(deps
|
|
|
|
|
(source_tree content))
|
|
|
|
|
(action
|
|
|
|
|
(with-stdout-to
|
|
|
|
|
%{null}
|
|
|
|
|
(run ocaml-crunch -m plain content -o %{target}))))
|