diff options
| author | Emilio Jesus Gallego Arias | 2018-11-19 20:10:59 +0100 |
|---|---|---|
| committer | Emilio Jesus Gallego Arias | 2019-03-29 05:09:37 +0100 |
| commit | 28d60e8f729ee6b66c9252c9766f3fe2d8d854cf (patch) | |
| tree | e79cb2a4ff2ed29e25981b38413dba18a6420383 | |
| parent | 374c88c84d41bd490bc97fe783c3c2f22100b17d (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-- | .gitignore | 3 | ||||
| -rw-r--r-- | dune | 3 | ||||
| -rw-r--r-- | dune-project | 3 | ||||
| -rw-r--r-- | ltac2.opam | 0 | ||||
| -rw-r--r-- | src/dune | 6 | ||||
| -rw-r--r-- | theories/dune | 6 |
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 @@ -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 @@ -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)) + |
