aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmilio Jesus Gallego Arias2018-11-19 20:10:59 +0100
committerEmilio Jesus Gallego Arias2019-03-29 05:09:37 +0100
commit28d60e8f729ee6b66c9252c9766f3fe2d8d854cf (patch)
treee79cb2a4ff2ed29e25981b38413dba18a6420383
parent374c88c84d41bd490bc97fe783c3c2f22100b17d (diff)
[dune] Full Dune support.
This add experimental support for building the full Ltac2 plugin with Dune, see tree at https://github.com/ejgallego/dune/tree/coq
-rw-r--r--.gitignore3
-rw-r--r--dune3
-rw-r--r--dune-project3
-rw-r--r--ltac2.opam0
-rw-r--r--src/dune6
-rw-r--r--theories/dune6
6 files changed, 18 insertions, 3 deletions
diff --git a/.gitignore b/.gitignore
index 50ed772be3..00e15f8daa 100644
--- a/.gitignore
+++ b/.gitignore
@@ -13,3 +13,6 @@ Makefile.coq.conf
*.a
*.aux
tests/*.log
+*.install
+_build
+.merlin
diff --git a/dune b/dune
new file mode 100644
index 0000000000..5dbc4db66a
--- /dev/null
+++ b/dune
@@ -0,0 +1,3 @@
+(env
+ (dev (flags :standard -rectypes))
+ (release (flags :standard -rectypes)))
diff --git a/dune-project b/dune-project
new file mode 100644
index 0000000000..8154e999de
--- /dev/null
+++ b/dune-project
@@ -0,0 +1,3 @@
+(lang dune 1.6)
+(using coq 0.1)
+(name ltac2)
diff --git a/ltac2.opam b/ltac2.opam
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/ltac2.opam
diff --git a/src/dune b/src/dune
index 4a018adb9a..332f3644b0 100644
--- a/src/dune
+++ b/src/dune
@@ -1,8 +1,8 @@
(library
- (name ltac2)
- (public_name coq.plugins.ltac2)
+ (name ltac2_plugin)
+ (public_name ltac2.plugin)
(modules_without_implementation tac2expr tac2qexpr tac2types)
- (flags :standard -w -50)
+ (flags :standard -warn-error -9-27-50)
(libraries coq.plugins.firstorder))
(rule
diff --git a/theories/dune b/theories/dune
new file mode 100644
index 0000000000..1fe3ba28fe
--- /dev/null
+++ b/theories/dune
@@ -0,0 +1,6 @@
+(coqlib
+ (name Ltac2) ; This determines the -R flag
+ (public_name ltac2.Ltac2)
+ (synopsis "Ltac 2 Plugin")
+ (libraries ltac2.plugin))
+