This commit is contained in:
parent
aa2ff7b2f0
commit
2f3113f55d
11742 changed files with 1223940 additions and 0 deletions
|
|
@ -0,0 +1,3 @@
|
|||
Fail Print Prelude.
|
||||
From Coq Require Import Prelude.
|
||||
Require Import mytheory.
|
||||
|
|
@ -0,0 +1,4 @@
|
|||
(coq.theory
|
||||
(name A)
|
||||
(stdlib no)
|
||||
(theories Coq))
|
||||
|
|
@ -0,0 +1,2 @@
|
|||
(lang dune 3.5)
|
||||
(using coq 0.6)
|
||||
|
|
@ -0,0 +1,2 @@
|
|||
Unset Elimination Schemes.
|
||||
Inductive BootType := boot | type.
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
(coq.theory
|
||||
(name Coq)
|
||||
(package Coq)
|
||||
(boot))
|
||||
|
||||
(include_subdirs qualified)
|
||||
|
|
@ -0,0 +1,2 @@
|
|||
(lang dune 3.3)
|
||||
(using coq 0.4)
|
||||
|
|
@ -0,0 +1,2 @@
|
|||
|
||||
Inductive Hello := World | Bye.
|
||||
|
|
@ -0,0 +1 @@
|
|||
(lang dune 3.3)
|
||||
|
|
@ -0,0 +1,23 @@
|
|||
Testing coqdoc when composed with a boot library
|
||||
|
||||
$ dune build A/A.html
|
||||
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))
|
||||
|
||||
$ ls _build/default/A
|
||||
A.html
|
||||
a.glob
|
||||
a.v
|
||||
a.vo
|
||||
a.vok
|
||||
a.vos
|
||||
|
||||
Dune should be passing '--coqlib' to coqdoc, but it doesn't. This is a bug.
|
||||
|
||||
$ cat _build/log | sed 's/$ (cd .*coqc/coqc/' | sed 's/$ (cd .*coqdoc/coqdoc/' | sed '/# /d' | sed '/> /d' | sort
|
||||
coqc -q -w -deprecated-native-compiler-option -w -native-compiler-disabled -native-compiler ondemand -boot -R Coq Coq Coq/mytheory.v)
|
||||
coqc -q -w -deprecated-native-compiler-option -w -native-compiler-disabled -native-compiler ondemand -noinit -boot -R Coq Coq -R A A A/a.v)
|
||||
coqc -q -w -deprecated-native-compiler-option -w -native-compiler-disabled -native-compiler ondemand -noinit -boot -R Coq Coq Coq/Init/Prelude.v)
|
||||
coqdoc -R ../Coq Coq -R . A --toc --html -d A.html a.v)
|
||||
Loading…
Add table
Add a link
Reference in a new issue