This commit is contained in:
parent
aa2ff7b2f0
commit
2f3113f55d
11742 changed files with 1223940 additions and 0 deletions
|
|
@ -0,0 +1,5 @@
|
|||
|
||||
Variant Or (A B : Set) : Set :=
|
||||
| inl : A -> Or A B
|
||||
| inr : B -> Or A B
|
||||
.
|
||||
|
|
@ -0,0 +1,21 @@
|
|||
(rule
|
||||
(targets
|
||||
(dir base.html))
|
||||
(action
|
||||
(progn
|
||||
(run mkdir base.html)
|
||||
(run touch base.html/base.base.html))))
|
||||
|
||||
(rule
|
||||
(targets
|
||||
(dir base.tex))
|
||||
(action
|
||||
(progn
|
||||
(run mkdir base.tex)
|
||||
(run touch base.tex/base.base.tex))))
|
||||
|
||||
(coq.theory
|
||||
(name base)
|
||||
(package base)
|
||||
(modules base)
|
||||
(synopsis "Base Coq library"))
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
(lang dune 3.1)
|
||||
(using directory-targets 0.1)
|
||||
(using coq 0.3)
|
||||
|
||||
(package
|
||||
(name base))
|
||||
|
|
@ -0,0 +1,20 @@
|
|||
We try to build the documentation but there will be a clash between the
|
||||
directory targets.
|
||||
$ dune build @check
|
||||
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))
|
||||
File "dune", lines 1-7, characters 0-120:
|
||||
1 | (rule
|
||||
2 | (targets
|
||||
3 | (dir base.html))
|
||||
4 | (action
|
||||
5 | (progn
|
||||
6 | (run mkdir base.html)
|
||||
7 | (run touch base.html/base.base.html))))
|
||||
Error: The following both define the same directory target:
|
||||
_build/default/base.html
|
||||
- dune:1
|
||||
- dune:17
|
||||
[1]
|
||||
Loading…
Add table
Add a link
Reference in a new issue