aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYves Bertot2018-05-17 21:50:38 +0200
committerGitHub2018-05-17 21:50:38 +0200
commit0cb5498b54940167607d39c5a266cca21a3657ca (patch)
tree1a3d3d26447b9661d99229f5f8c4d0e7b0108c23
parent6201b7edc15c050de2034407b37c5eca7391097a (diff)
parent127e40a28d2659e2e2197b87cf043a375647fe3b (diff)
Merge pull request #4 from gares/fix/tuto0
fix plugin name in tuto0
-rw-r--r--tuto0/_CoqProject4
-rw-r--r--tuto0/src/g_tuto0.ml42
-rw-r--r--tuto0/theories/Demo.v8
3 files changed, 12 insertions, 2 deletions
diff --git a/tuto0/_CoqProject b/tuto0/_CoqProject
index ca0c0588a4..dd93e1fa79 100644
--- a/tuto0/_CoqProject
+++ b/tuto0/_CoqProject
@@ -2,7 +2,9 @@
-I src
theories/Loader.v
+theories/Demo.v
+
src/tuto0_main.ml
src/tuto0_main.mli
src/g_tuto0.ml4
-src/tuto0_plugin.mlpack \ No newline at end of file
+src/tuto0_plugin.mlpack
diff --git a/tuto0/src/g_tuto0.ml4 b/tuto0/src/g_tuto0.ml4
index df6e187d52..d6e95ba0f7 100644
--- a/tuto0/src/g_tuto0.ml4
+++ b/tuto0/src/g_tuto0.ml4
@@ -1,4 +1,4 @@
-DECLARE PLUGIN "tuto0"
+DECLARE PLUGIN "tuto0_plugin"
open Pp
open Ltac_plugin
diff --git a/tuto0/theories/Demo.v b/tuto0/theories/Demo.v
new file mode 100644
index 0000000000..bdc61986af
--- /dev/null
+++ b/tuto0/theories/Demo.v
@@ -0,0 +1,8 @@
+From Tuto0 Require Import Loader.
+
+HelloWorld.
+
+Lemma test : True.
+Proof.
+hello_world.
+Abort.