diff options
| author | Emilio Jesus Gallego Arias | 2018-10-04 19:05:44 +0200 |
|---|---|---|
| committer | Emilio Jesus Gallego Arias | 2018-10-05 14:22:02 +0200 |
| commit | edaf8d0a34993ac5fab373128a27417a620643d4 (patch) | |
| tree | c7ec1d231809eca0dee63e44c26e692626c09fd1 /ide | |
| parent | 4108c982aa68e16e94896768358b83047977480d (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 'ide')
| -rw-r--r-- | ide/coqide.opam | 21 | ||||
| -rw-r--r-- | ide/dune-project | 3 | ||||
| -rw-r--r-- | ide/dune-workspace | 6 |
3 files changed, 0 insertions, 30 deletions
diff --git a/ide/coqide.opam b/ide/coqide.opam deleted file mode 100644 index 897177b283..0000000000 --- a/ide/coqide.opam +++ /dev/null @@ -1,21 +0,0 @@ -opam-version: "1.2" -maintainer: "The Coq development team <coqdev@inria.fr>" -authors: "The Coq development team, INRIA, CNRS, and contributors." -homepage: "https://coq.inria.fr/" -bug-reports: "https://github.com/coq/coq/issues" -dev-repo: "https://github.com/coq/coq.git" -license: "LGPL-2.1" - -available: [ocaml-version >= "4.05.0"] - -depends: [ - "dune" { build & >= "1.2.0" } - "coq" - "conf-gtksourceview" - "lablgtk" { >= "2.18.5" } -] - -build-env: [ - [ COQ_CONFIGURE_PREFIX = "%{prefix}" ] -] -build: [ [ "dune" "build" "-p" name "-j" jobs ] ] diff --git a/ide/dune-project b/ide/dune-project deleted file mode 100644 index 948dc59000..0000000000 --- a/ide/dune-project +++ /dev/null @@ -1,3 +0,0 @@ -(lang dune 1.0) - -(name coqide-devel) diff --git a/ide/dune-workspace b/ide/dune-workspace deleted file mode 100644 index 38875eac2c..0000000000 --- a/ide/dune-workspace +++ /dev/null @@ -1,6 +0,0 @@ -(lang dune 1.2) - -; Add custom flags here. Default developer profile is `dev` -(env - (dev (flags :standard -rectypes -w -9-27-50+60)) - (release (flags :standard -rectypes))) |
