| 1 | #!/usr/bin/envscip-shell filesystem . . `/usr/bin/env`. bash |
| 2 | |
| 3 | set -e |
| 4 | |
| 5 | export COQBIN=$BIN |
| 6 | export PATH=$COQBIN:$PATH |
| 7 | |
| 8 | cd misc/attributes/ |
| 9 | |
| 10 | rmscip-shell system . . rm. -rf _test |
| 11 | mkdirscip-shell system . . mkdir. _test |
| 12 | findscip-shell system . . find. . -maxdepth 1 -not -name . -not -name _test -exec cp -r '{}' -t _test ';' |
| 13 | cd _test |
| 14 | |
| 15 | rocq makefile -f _CoqProject -o Makefile |
| 16 | |
| 17 | makescip-shell system . . make. |
| 18 | |
| 19 | if ! [scip-shell system . . `[`. -e theories/attr.vo ]; then |
| 20 | >&2 echoscip-shell system . . echo. Missing attr.vo after successful compilation |
| 21 | exit 1 |
| 22 | fi |