aboutsummaryrefslogtreecommitdiff
path: root/ide
diff options
context:
space:
mode:
authorEmilio Jesus Gallego Arias2018-10-04 09:45:10 +0200
committerEmilio Jesus Gallego Arias2018-10-05 03:41:06 +0200
commit3baa5388cd52afc5407e3c333fbc4aa6d149ddd3 (patch)
tree143fc46f9c24076a0d1a2b428e5737c99a7d50a8 /ide
parent3f2a6d8e99f31bbd9383119cac39ed0bcaabc37d (diff)
[ci] [dune] [opam] Fixes to OPAM and CI target.
The Dune `release` profile is used by OPAM so that should cover the testing. We also update the dependencies: - camlp5: 7.01 had some bugs regarding grammar; we could use 7.02, however this version it is not in OPAM. So I guess that leaves us with 7.03 again. - lablgtk < 2.18.5 does not support OCaml >= 4.05.0.
Diffstat (limited to 'ide')
-rw-r--r--ide/coqide.opam12
-rw-r--r--ide/dune-workspace6
2 files changed, 13 insertions, 5 deletions
diff --git a/ide/coqide.opam b/ide/coqide.opam
index ba05b9edcf..897177b283 100644
--- a/ide/coqide.opam
+++ b/ide/coqide.opam
@@ -6,14 +6,16 @@ bug-reports: "https://github.com/coq/coq/issues"
dev-repo: "https://github.com/coq/coq.git"
license: "LGPL-2.1"
-available: [ocaml-version >= "4.02.3"]
+available: [ocaml-version >= "4.05.0"]
depends: [
- "dune" { build }
- "ocamlfind" { build }
- "num"
- "camlp5"
+ "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-workspace b/ide/dune-workspace
new file mode 100644
index 0000000000..38875eac2c
--- /dev/null
+++ b/ide/dune-workspace
@@ -0,0 +1,6 @@
+(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)))