aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEnrico Tassi2018-05-17 17:25:28 +0200
committerEnrico Tassi2018-05-17 17:25:28 +0200
commit127e40a28d2659e2e2197b87cf043a375647fe3b (patch)
treeb611cb895b6860040913ba109f90ea61a5a17fa4
parentb88102233366b9290fc8819443764a15c109e00c (diff)
add little test
- tests the plugin can actually be loaded (eg with the wrong DECLARE PLUGIN it loads but then the tactic is not in scope) - sine is listed in _CoqProject one can open it with CoqIDE/PG and get the -I -R flags from the _CoqProject automatically
-rw-r--r--tuto0/_CoqProject4
-rw-r--r--tuto0/theories/Demo.v8
2 files changed, 11 insertions, 1 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/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.