This commit is contained in:
parent
aa2ff7b2f0
commit
2f3113f55d
11742 changed files with 1223940 additions and 0 deletions
|
|
@ -0,0 +1 @@
|
|||
Definition foo := 3.
|
||||
|
|
@ -0,0 +1,3 @@
|
|||
(coq.theory
|
||||
(name A)
|
||||
(package Simple))
|
||||
|
|
@ -0,0 +1,3 @@
|
|||
From A Require Import a.
|
||||
|
||||
Definition bar := a.foo.
|
||||
|
|
@ -0,0 +1,4 @@
|
|||
(coq.theory
|
||||
(name B)
|
||||
(package Simple)
|
||||
(theories A))
|
||||
|
|
@ -0,0 +1,2 @@
|
|||
(lang dune 3.2)
|
||||
(using coq 0.3)
|
||||
|
|
@ -0,0 +1,19 @@
|
|||
Testing a simple composition of theories. We have two theories A and B and B
|
||||
depends on A.
|
||||
|
||||
$ dune build
|
||||
Warning: Coq Language Versions lower than 0.8 have been deprecated in Dune
|
||||
3.8 and will be removed in an upcoming Dune version.
|
||||
Hint: To disable this warning, add the following to your dune-project file:
|
||||
(warnings (deprecated_coq_lang_lt_08 disabled))
|
||||
|
||||
We inspect the contents of the build directory.
|
||||
|
||||
$ ls _build/install/default/lib/coq/user-contrib/A/a.vo
|
||||
_build/install/default/lib/coq/user-contrib/A/a.vo
|
||||
$ ls _build/default/A/a.vo
|
||||
_build/default/A/a.vo
|
||||
$ ls _build/install/default/lib/coq/user-contrib/B/b.vo
|
||||
_build/install/default/lib/coq/user-contrib/B/b.vo
|
||||
$ ls _build/default/B/b.vo
|
||||
_build/default/B/b.vo
|
||||
Loading…
Add table
Add a link
Reference in a new issue