diff options
| author | Gaëtan Gilbert | 2019-10-28 13:51:11 +0100 |
|---|---|---|
| committer | Pierre-Marie Pédrot | 2019-11-01 12:17:09 +0100 |
| commit | 020cbc9ef9b2d4b22ee6e8490c59f63f87c25a25 (patch) | |
| tree | 80ea672c78a5a203e1b193a86c08a43ea32600cc /tools | |
| parent | 76c72065a10381d91317c12436e3d6c1cd2e7348 (diff) | |
Teach coq_dune about the empty .vos produced by coqc
Without this the next dune command after build a vo will wipe out the
vos, breaking interactive users. Also this means dune installs the
.vos files.
Diffstat (limited to 'tools')
| -rw-r--r-- | tools/coq_dune.ml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/coq_dune.ml b/tools/coq_dune.ml index ab180769b6..f62947ec67 100644 --- a/tools/coq_dune.ml +++ b/tools/coq_dune.ml @@ -170,6 +170,7 @@ let pp_rule fmt targets deps action = let gen_coqc_targets vo = [ vo.target ; replace_ext ~file:vo.target ~newext:".glob" + ; replace_ext ~file:vo.target ~newext:".vos" ; "." ^ replace_ext ~file:vo.target ~newext:".aux"] (* Generate the dune rule: *) |
