aboutsummaryrefslogtreecommitdiff
path: root/dune
diff options
context:
space:
mode:
authorEmilio Jesus Gallego Arias2018-10-04 19:05:44 +0200
committerEmilio Jesus Gallego Arias2018-10-05 14:22:02 +0200
commitedaf8d0a34993ac5fab373128a27417a620643d4 (patch)
treec7ec1d231809eca0dee63e44c26e692626c09fd1 /dune
parent4108c982aa68e16e94896768358b83047977480d (diff)
[dune] Refactor files following advice from upstream.
After some discussion upstream, I think that for the current a multi-package setup in a single repository this setup saves a bit work. The most problematic bit is the `-rectypes` flag; its status is not saved per-library so we must either duplicate the flags in the coqide scope (scope == dune-project file), or unify its scope with Coq. We do this last option as this seems like the easiest thing for now. Changes: - Move coqide.opam file to the root, use a single scope/`dune-project` file. - Remove `dune-workspace`, this should be owned by the developer / user.
Diffstat (limited to 'dune')
-rw-r--r--dune6
1 files changed, 6 insertions, 0 deletions
diff --git a/dune b/dune
index b758fc7b56..f867126f9e 100644
--- a/dune
+++ b/dune
@@ -1,3 +1,9 @@
+; Default flags for all Coq libraries.
+(env
+ (dev (flags :standard -rectypes -w -9-27-50+60))
+ (release (flags :standard -rectypes)))
+
+; Rules for coq_dune
(rule
(targets .vfiles.d)
(deps