GOingTunneling/doBuilds.sh
2024-08-30 20:46:13 +02:00

14 lines
402 B
Bash
Executable File

#!/usr/bin/env sh
export CGO_ENABLED=1
GOOS=linux GOARCH=amd64 go build -o build/tunnelerLinux64
GOOS=linux GOARCH=386 go build -o build/tunnelerLinux32
export CC=x86_64-w64-mingw32-gcc
export CXX=x86_64-w64-mingw32-g++
GOOS=windows GOARCH=amd64 go build -o build/tunneler64.exe
export CC=i686-w64-mingw32-gcc
export CXX=i686-w64-mingw32-g++
GOOS=windows GOARCH=386 go build -o build/tunneler32.exe