forked from hazelgrove/hazel
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
35 lines (24 loc) · 703 Bytes
/
Makefile
File metadata and controls
35 lines (24 loc) · 703 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
HTML_DIR=_build/default/src/hazelweb/www
all: dev
deps:
opam install \
dune reason utop rtop \
incr_dom js_of_ocaml ppx_let ppx_sexp_conv re sexplib
dev:
dune build @src/fmt --auto-promote || true
dune build src --profile dev
release:
dune build src --profile release
echo-html-dir:
@echo "$(HTML_DIR)"
echo-html:
@echo "$(HTML_DIR)/index.html"
win-chrome:
"/mnt/c/Program Files (x86)/Google/Chrome/Application/chrome.exe" "$(HTML_DIR)/index.html"
win-firefox:
"/mnt/c/Program Files (x86)/Mozilla Firefox/firefox.exe" "$(HTML_DIR)/index.html"
repl:
dune utop src/hazelcore
clean:
dune clean
.PHONY: all deps dev release echo-html-dir echo-html win-chrome win-firefox repl clean