| 1 | #!/bin/shscip-shell filesystem . . `/bin/sh`. |
| 2 | |
| 3 | goscip-shell system . . go. build -o=s2c ../s2c |
| 4 | |
| 5 | rmscip-shell system . . rm. -rf sfx-exe/ || truescip-shell system . . true. |
| 6 | |
| 7 | GOOS=linux GOARCH=amd64 goscip-shell system . . go. build -trimpath -ldflags="-s -w" -o ./sfx-exe/linux-amd64 ./_unpack/main.go |
| 8 | GOOS=linux GOARCH=arm64 goscip-shell system . . go. build -trimpath -ldflags="-s -w" -o ./sfx-exe/linux-arm64 ./_unpack/main.go |
| 9 | GOOS=linux GOARCH=arm goscip-shell system . . go. build -trimpath -ldflags="-s -w" -o ./sfx-exe/linux-arm ./_unpack/main.go |
| 10 | GOOS=linux GOARCH=ppc64le goscip-shell system . . go. build -trimpath -ldflags="-s -w" -o ./sfx-exe/linux-ppc64le ./_unpack/main.go |
| 11 | GOOS=linux GOARCH=mips64 goscip-shell system . . go. build -trimpath -ldflags="-s -w" -o ./sfx-exe/linux-mips64 ./_unpack/main.go |
| 12 | |
| 13 | GOOS=darwin GOARCH=amd64 goscip-shell system . . go. build -trimpath -ldflags="-s -w" -o ./sfx-exe/darwin-amd64 ./_unpack/main.go |
| 14 | GOOS=darwin GOARCH=arm64 goscip-shell system . . go. build -trimpath -ldflags="-s -w" -o ./sfx-exe/darwin-arm64 ./_unpack/main.go |
| 15 | |
| 16 | GOOS=windows GOARCH=amd64 goscip-shell system . . go. build -trimpath -ldflags="-s -w" -o ./sfx-exe/windows-amd64 ./_unpack/main.go |
| 17 | GOOS=windows GOARCH=386 goscip-shell system . . go. build -trimpath -ldflags="-s -w" -o ./sfx-exe/windows-386 ./_unpack/main.go |
| 18 | |
| 19 | ./s2c -rm -slower sfx-exe/* |
| 20 | |
| 21 | rmscip-shell system . . rm. s2c |