| 1 |
$ dune build --display short foo.vos |
| 2 |
rocq .basic.theory.d |
| 3 |
rocq foo.vos |
| 4 |
|
| 5 |
$ dune clean |
| 6 |
$ dune build --display short bar.vos |
| 7 |
rocq .basic.theory.d |
| 8 |
rocq foo.vos |
| 9 |
rocq bar.vos |
| 10 |
|
| 11 |
$ cat foo.v | dune rocq top -- foo.v 2>/dev/null | sed '/^Welcome to Rocq/d' |
| 12 |
mynat is defined |
| 13 |
$ cat bar.v | dune rocq top -- bar.v 2>/dev/null | sed '/^Welcome to Rocq/d' |
| 14 |
mynum is defined |
| 15 |
|
| 16 |
$ dune clean |
| 17 |
$ dune build --display short --debug-dependency-path @all |
| 18 |
rocq .basic.theory.d |
| 19 |
rocq foo.vos |
| 20 |
rocq bar.vos |
| 21 |
$ dune build --debug-dependency-path @default |
| 22 |
lib: [ |
| 23 |
"_build/install/default/lib/base/META" |
| 24 |
"_build/install/default/lib/base/dune-package" |
| 25 |
"_build/install/default/lib/base/opam" |
| 26 |
] |
| 27 |
lib_root: [ |
| 28 |
"_build/install/default/lib/coq/user-contrib/basic/bar.v" {"coq/user-contrib/basic/bar.v"} |
| 29 |
"_build/install/default/lib/coq/user-contrib/basic/bar.vos" {"coq/user-contrib/basic/bar.vos"} |
| 30 |
"_build/install/default/lib/coq/user-contrib/basic/foo.v" {"coq/user-contrib/basic/foo.v"} |
| 31 |
"_build/install/default/lib/coq/user-contrib/basic/foo.vos" {"coq/user-contrib/basic/foo.vos"} |
| 32 |
] |
| 33 |
|
| 34 |
Checking that we can go back to vo mode (without cleaning). |
| 35 |
|
| 36 |
$ mv dune-vo dune |
| 37 |
$ dune build --display short --debug-dependency-path @all |
| 38 |
rocq foo.{glob,vo} |
| 39 |
rocq bar.{glob,vo} |
| 40 |
$ dune build --debug-dependency-path @default |
| 41 |
lib: [ |
| 42 |
"_build/install/default/lib/base/META" |
| 43 |
"_build/install/default/lib/base/dune-package" |
| 44 |
"_build/install/default/lib/base/opam" |
| 45 |
] |
| 46 |
lib_root: [ |
| 47 |
"_build/install/default/lib/coq/user-contrib/basic/bar.glob" {"coq/user-contrib/basic/bar.glob"} |
| 48 |
"_build/install/default/lib/coq/user-contrib/basic/bar.v" {"coq/user-contrib/basic/bar.v"} |
| 49 |
"_build/install/default/lib/coq/user-contrib/basic/bar.vo" {"coq/user-contrib/basic/bar.vo"} |
| 50 |
"_build/install/default/lib/coq/user-contrib/basic/foo.glob" {"coq/user-contrib/basic/foo.glob"} |
| 51 |
"_build/install/default/lib/coq/user-contrib/basic/foo.v" {"coq/user-contrib/basic/foo.v"} |
| 52 |
"_build/install/default/lib/coq/user-contrib/basic/foo.vo" {"coq/user-contrib/basic/foo.vo"} |
| 53 |
] |