aboutsummaryrefslogtreecommitdiff
path: root/dev/dune-dbg.in
diff options
context:
space:
mode:
authorEmilio Jesus Gallego Arias2018-11-09 19:15:54 +0100
committerEmilio Jesus Gallego Arias2018-11-09 19:15:54 +0100
commitce8e37b97ce9db6f39368c50fb0ee4a7839ce754 (patch)
treea6678760bcd97cf004ba1f065352c8cad666bec3 /dev/dune-dbg.in
parent7e3c54c09bdd748e2e2a60a94891b65481776041 (diff)
parenta7522a0ea76a6efaed9342d08a95363b56d88d32 (diff)
Merge PR #8949: Remove checker printers
Diffstat (limited to 'dev/dune-dbg.in')
-rwxr-xr-xdev/dune-dbg.in14
1 files changed, 8 insertions, 6 deletions
diff --git a/dev/dune-dbg.in b/dev/dune-dbg.in
index 464e026400..3f3df23fe1 100755
--- a/dev/dune-dbg.in
+++ b/dev/dune-dbg.in
@@ -2,10 +2,12 @@
# Run in a proper install dune env.
case $1 in
-checker)
- ocamldebug `ocamlfind query -recursive -i-format coq.checker_printers` -I +threads -I dev _build/default/checker/main.bc
- ;;
-*)
- ocamldebug `ocamlfind query -recursive -i-format coq.top_printers` -I +threads -I dev _build/default/topbin/coqtop_byte_bin.bc
- ;;
+ checker)
+ exe=_build/default/checker/main.bc
+ ;;
+ *)
+ exe=_build/default/topbin/coqtop_byte_bin.bc
+ ;;
esac
+
+ocamldebug $(ocamlfind query -recursive -i-format coq.top_printers) -I +threads -I dev $exe