aboutsummaryrefslogtreecommitdiff
path: root/doc/tools
diff options
context:
space:
mode:
authorEmilio Jesus Gallego Arias2019-02-12 02:23:38 +0100
committerEmilio Jesus Gallego Arias2019-02-14 16:30:28 +0100
commit49ed4b7d3a01b9c383bb99fc26a7b34a7a711fdf (patch)
treeef708a5ce689d236c68933fa43890a41ac963edd /doc/tools
parent7831c257168b74fc8e7132af2ec0b7a8aa00d539 (diff)
[coqlib] Remove `-boot` option for setting the coqlib
Instead, if the coqlib is special, we set it explicitly in the command line, as Dune does. This is a continuation of #9523. In Sphinx, we stop using -boot, and pass `-coqlib` through the environment instead. Co-authored-by: Gaƫtan Gilbert <gaetan.gilbert@skyskimmer.net>
Diffstat (limited to 'doc/tools')
-rw-r--r--doc/tools/coqrst/repl/coqtop.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/doc/tools/coqrst/repl/coqtop.py b/doc/tools/coqrst/repl/coqtop.py
index 3ff00eaaf3..2ee78a1675 100644
--- a/doc/tools/coqrst/repl/coqtop.py
+++ b/doc/tools/coqrst/repl/coqtop.py
@@ -41,13 +41,10 @@ class CoqTop:
the ansicolors module)
:param args: Additional arugments to coqtop.
"""
- BOOT = True
- if os.getenv('COQBOOT') == "no":
- BOOT = False
self.coqtop_bin = coqtop_bin or os.path.join(os.getenv('COQBIN', ""), "coqtop")
if not pexpect.utils.which(self.coqtop_bin):
raise ValueError("coqtop binary not found: '{}'".format(self.coqtop_bin))
- self.args = (args or []) + ["-boot"] * BOOT + ["-color", "on"] * color
+ self.args = (args or []) + ["-color", "on"] * color
self.coqtop = None
def __enter__(self):