From eacb0f2e62b3a713083be9cc15b8af41fac2d6af Mon Sep 17 00:00:00 2001 From: Marc Coquand Date: Mon, 4 Dec 2023 08:06:31 -0600 Subject: Add static assets in a single binary --- assets/dune | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 assets/dune (limited to 'assets') 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)) -- cgit v1.2.3