14 lines
402 B
Bash
14 lines
402 B
Bash
|
#!/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
|