@ -3,11 +3,6 @@
# This source code is licensed under the MIT license found in the
# This source code is licensed under the MIT license found in the
# LICENSE file in the root directory of this source tree.
# LICENSE file in the root directory of this source tree.
# Expected workflow is to launch `make watch` in a terminal to
# continuously rebuild when files change, and to use `make check` in
# the editor to quickly type-check and populate files used by merlin
# for cross-module information.
.PHONY : default
.PHONY : default
default : exes
default : exes
@ -31,6 +26,14 @@ check: setup
exes : setup
exes : setup
dune build _build/dev/src/sledge.exe _build/release/src/sledge.exe _build/dev/sledge.install _build/release/sledge.install
dune build _build/dev/src/sledge.exe _build/release/src/sledge.exe _build/dev/sledge.install _build/release/sledge.install
.PHONY : dbg
dbg : setup
dune build _build/dev/src/sledge.exe _build/dev/sledge.install
.PHONY : opt
opt : setup
dune build _build/release/src/sledge.exe _build/release/sledge.install
.PHONY : watch
.PHONY : watch
watch : setup
watch : setup
dune build --watch _build/dev/src/sledge.exe _build/release/src/sledge.exe
dune build --watch _build/dev/src/sledge.exe _build/release/src/sledge.exe