This commit is contained in:
swrup 2025-11-11 02:07:51 +01:00
parent aa2ff7b2f0
commit 2f3113f55d
11742 changed files with 1223940 additions and 0 deletions

View file

@ -0,0 +1,25 @@
We test that the calls to coqc -config in scope.ml is lazy enough that it will
not be called unless necessary.
We test this using a dummy coqc that will fail if it is called.
$ cat > coqc << EOF
> #!/bin/sh
> exit 5
> EOF
$ chmod +x coqc
We add this to path:
$ export PATH=$PWD:$PATH
Next we create an empty coq project:
$ cat > dune-project << EOF
> (lang dune 3.8)
> (using coq 0.8)
> EOF
Finally we run dune build:
$ dune build