aboutsummaryrefslogtreecommitdiff
path: root/bin/dune
diff options
context:
space:
mode:
Diffstat (limited to 'bin/dune')
-rw-r--r--bin/dune22
1 files changed, 22 insertions, 0 deletions
diff --git a/bin/dune b/bin/dune
new file mode 100644
index 0000000..7044b82
--- /dev/null
+++ b/bin/dune
@@ -0,0 +1,22 @@
+(executables
+ (public_names dream_service client)
+ (names main client)
+ (libraries
+ lwt
+ lwt.unix
+ dream
+ dream_handler
+ cohttp_handler
+ uri
+ services
+ services_impl
+ )
+ )
+
+
+(rule
+ (target jsAssets.ml)
+ (deps (glob_files js_assets/**))
+ (action (with-stdout-to %{null}
+ (run ocaml-crunch -m plain js_assets/ -o %{target}))))
+