diff options
author | Marc Coquand <marcc@fastmail.fr> | 2023-12-04 08:06:31 -0600 |
---|---|---|
committer | Marc Coquand <marcc@fastmail.fr> | 2023-12-04 08:06:31 -0600 |
commit | eacb0f2e62b3a713083be9cc15b8af41fac2d6af (patch) | |
tree | 2255733cf314bd0d61467fffde8cea96dfbe0c90 /assets | |
parent | 47719821b568704739d42219076c2f7c02bf266b (diff) | |
download | wormhole-eacb0f2e62b3a713083be9cc15b8af41fac2d6af.tar.gz wormhole-eacb0f2e62b3a713083be9cc15b8af41fac2d6af.tar.bz2 wormhole-eacb0f2e62b3a713083be9cc15b8af41fac2d6af.zip |
Add static assets in a single binary
Diffstat (limited to 'assets')
-rw-r--r-- | assets/dune | 10 |
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)) |