LGPL-2.1
1999-2021 The Coq Development Team,; Institut National de Recherche en Informatique et en Automatique (INRIA),; Centre National de la Recherche Scientifique (CNRS),; Microsoft corporation; and contributors
debian/copyright
Source reconstructed at patch state 0 of 1 — not the installed (fully patched) source.
1 Debian patch touch this file
| 1 |
#!/usr/bin/env bash |
| 2 |
|
| 3 |
set -e |
| 4 |
export PATH=$COQBIN:$PATH |
| 5 |
export LC_ALL=C |
| 6 |
|
| 7 |
rm -rf _test |
| 8 |
mkdir _test |
| 9 |
cp _CoqProject _test/ |
| 10 |
cd _test |
| 11 |
mkdir src |
| 12 |
|
| 13 |
echo '{ let foo = () }' > src/file1.mlg |
| 14 |
echo 'let bar = File1.foo' > src/file2.ml |
| 15 |
rocq makefile -f _CoqProject -o Makefile |
| 16 |
if which ocamlopt >/dev/null 2>&1; then |
| 17 |
make src/file2.cmx |
| 18 |
[ -f src/file2.cmx ] |
| 19 |
fi |
| 20 |
make src/file2.cmo |
| 21 |
[ -f src/file2.cmo ] |