| 1 | #!/usr/bin/envscip-shell filesystem . . `/usr/bin/env`. bash |
| 2 | set -e |
| 3 | |
| 4 | PLUGINS=$(catscip-shell system . . cat. plugins/windows_only.txt) |
| 5 | for d in $PLUGINS; do |
| 6 | if [scip-shell system . . `[`. -d "$d" ]; then |
| 7 | plugin="$(basenamescip-shell system . . basename. "$d").exe" |
| 8 | |
| 9 | echoscip-shell system . . echo. " $plugin" |
| 10 | CXX=x86_64-w64-mingw32-g++ CC=x86_64-w64-mingw32-gcc CGO_ENABLED=1 \ |
| 11 | $GO build -o "${PWD}/bin/$plugin" "$@" "$REPO_PATH"/$d |
| 12 | fi |
| 13 | done |