aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThéo Zimmermann2018-09-21 00:58:41 +0200
committerThéo Zimmermann2018-09-21 00:58:41 +0200
commit90ace7786901aa2f1253cf3887bf3e5221c5dae7 (patch)
tree95b4a7990403d64941c989ea9b2baede15a7dc45
parent4f85e540349004d4f9388a90061fc4a1541d9c40 (diff)
parentf81fa592ba84b1fcad1226092ba458335ccb829f (diff)
Merge PR #8518: [dune] Add "watch" target for continuous build mode.
-rw-r--r--Makefile.dune4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile.dune b/Makefile.dune
index e04982650f..81afa5bb91 100644
--- a/Makefile.dune
+++ b/Makefile.dune
@@ -12,6 +12,7 @@ help:
@echo "Welcome to Coq's Dune-based build system. Targets are:"
@echo " - states: build a minimal functional coqtop"
@echo " - world: build all binaries and libraries"
+ @echo " - watch: build all binaries and libraries [continuous build]"
@echo " - release: build Coq in release mode"
@echo " - apidoc: build ML API documentation"
@echo " - clean: remove build directory and autogenerated files"
@@ -27,6 +28,9 @@ states: voboot
world: voboot
dune build $(DUNEOPT) @install
+watch: voboot
+ dune build $(DUNEOPT) @install -w
+
release: voboot
dune build $(DUNEOPT) -p coq