From 28d60e8f729ee6b66c9252c9766f3fe2d8d854cf Mon Sep 17 00:00:00 2001 From: Emilio Jesus Gallego Arias Date: Mon, 19 Nov 2018 20:10:59 +0100 Subject: [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 --- .gitignore | 3 +++ dune | 3 +++ dune-project | 3 +++ ltac2.opam | 0 src/dune | 6 +++--- theories/dune | 6 ++++++ 6 files changed, 18 insertions(+), 3 deletions(-) create mode 100644 dune create mode 100644 dune-project create mode 100644 ltac2.opam create mode 100644 theories/dune 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 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)) + -- cgit v1.2.3