mirror of
https://github.com/TheRealOwenRees/pgn_to_tex.git
synced 2026-07-23 03:56:57 +00:00
79155255f6
* copy project root files * import previously created code and rename where needed * fix license and lint * main is now just a JS wrapper * minified main.cjs rather than copying to a newly named file
23 lines
390 B
Makefile
23 lines
390 B
Makefile
default: clean build
|
|
|
|
clean:
|
|
dune clean
|
|
|
|
build:
|
|
dune build --profile release
|
|
|
|
test:
|
|
dune runtest
|
|
|
|
install-deps:
|
|
opam install dune sedlex menhir js_of_ocaml js_of_ocaml-ppx ounit2 ocaml-lsp-server ocamlformat
|
|
|
|
check:
|
|
opam lint
|
|
dune build @fmt @install @runtest @lint
|
|
|
|
# bench:
|
|
# ocamlopt -o benchmarks/strings unix.cmxa benchmarks/strings.ml
|
|
# benchmarks/strings
|
|
|
|
.PHONY: clean test |