summaryrefslogtreecommitdiffabout
diff options
context:
space:
mode:
authorArmael <armael.gueneau@ens-lyon.fr>2016-01-24 15:20:52 (CET)
committer Armael <armael.gueneau@ens-lyon.fr>2016-01-24 15:20:52 (CET)
commit7318a7abb979dfe8ea736b9a1e34b50b753b623a (patch)
tree13501f57881dc15c05a12d1891abf304a2e6e70f
parent209d223e2c0ca0d3d7d160ff31177a29178cb2b5 (diff)
downloaddict-7318a7abb979dfe8ea736b9a1e34b50b753b623a.tar.gz
dict-7318a7abb979dfe8ea736b9a1e34b50b753b623a.tar.bz2
deploy target
-rw-r--r--Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index fb91437..1204f7f 100644
--- a/Makefile
+++ b/Makefile
@@ -4,6 +4,12 @@ dict: dict_init.ml
dict_init.ml: init/*
ocaml-crunch init -o dict_init.ml -m plain
+deploy: dict
+ mkdir -p public
+ cp _build/dict.js public/
+ cp -r css public/
+ cp index.html public/
+
clean:
ocamlbuild -clean
rm -f dict_init.ml