aboutsummaryrefslogtreecommitdiff
path: root/assets
diff options
context:
space:
mode:
Diffstat (limited to 'assets')
-rw-r--r--assets/dune10
1 files changed, 10 insertions, 0 deletions
diff --git a/assets/dune b/assets/dune
new file mode 100644
index 0000000..0a984cb
--- /dev/null
+++ b/assets/dune
@@ -0,0 +1,10 @@
+(rule
+ (targets static.ml)
+ (deps (source_tree ./))
+ (action
+ (setenv OCAMLRUNPARAM "b"
+ (run %{bin:ocaml-crunch} --mode=plain -o static.ml -e css -e svg -e png -e jpg -e ttf ./))
+ ))
+
+(library (name assets)
+ (modules assets))