| 1 | #!/bin/shscip-shell filesystem . . `/bin/sh`. |
| 2 | . ../template/path-init.shscip-shell source . . `../template/path-init.sh`. |
| 3 | |
| 4 | rmscip-shell system . . rm. -rf _test |
| 5 | mkdirscip-shell system . . mkdir. _test |
| 6 | findscip-shell system . . find. . -maxdepth 1 -not -name . -not -name _test -exec cp -r '{}' -t _test ';' |
| 7 | |
| 8 | cd _test || exit 1 |
| 9 | mkdirscip-shell system . . mkdir. -p src |
| 10 | mkdirscip-shell system . . mkdir. -p theories/sub |
| 11 | |
| 12 | cp_filescip-shell shell shell-project 0.0.0 cp_file().() { |
| 13 | local _TARGET=$1 |
| 14 | cpscip-shell system . . cp. ../../template/$_TARGET $_TARGET |
| 15 | chmodscip-shell system . . chmod. u+w $_TARGET |
| 16 | } |
| 17 | |
| 18 | # We chmod +w as to fix the case where the sources are read-only, as |
| 19 | # for example when using Dune's cache. |
| 20 | cp_filescip-shell shell shell-project 0.0.0 cp_file(). theories/sub/testsub.v |
| 21 | cp_filescip-shell shell shell-project 0.0.0 cp_file(). theories/test.v |
| 22 | cp_filescip-shell shell shell-project 0.0.0 cp_file(). src/test.mlg |
| 23 | cp_filescip-shell shell shell-project 0.0.0 cp_file(). src/test_aux.mli |
| 24 | cp_filescip-shell shell shell-project 0.0.0 cp_file(). src/test.mli |
| 25 | cp_filescip-shell shell shell-project 0.0.0 cp_file(). src/test_plugin.mlpack |
| 26 | cp_filescip-shell shell shell-project 0.0.0 cp_file(). src/test_aux.ml |
| 27 | cp_filescip-shell shell shell-project 0.0.0 cp_file(). src/META.coq-test-suite |