summaryrefslogtreecommitdiffabout
path: root/Makefile
blob: 1204f7f8dcf2e20606f435f681b2ee045036cdb9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
dict: dict_init.ml
	ocamlbuild -use-ocamlfind -plugin-tag "package(js_of_ocaml.ocamlbuild)" dict.js

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