39 lines
893 B
Bash
Executable File
39 lines
893 B
Bash
Executable File
#! /bin/bash
|
|
set -x
|
|
|
|
CGO_ENABLED=0 go build
|
|
zip pingtunnel_linux64.zip pingtunnel
|
|
|
|
GOOS=darwin GOARCH=amd64 go build
|
|
zip pingtunnel_mac.zip pingtunnel
|
|
|
|
GOOS=windows GOARCH=amd64 go build
|
|
zip pingtunnel_windows64.zip pingtunnel.exe
|
|
|
|
GOOS=linux GOARCH=mipsle go build
|
|
zip pingtunnel_mipsle.zip pingtunnel
|
|
|
|
GOOS=linux GOARCH=arm go build
|
|
zip pingtunnel_arm.zip pingtunnel
|
|
|
|
GOOS=linux GOARCH=mips go build
|
|
zip pingtunnel_mips.zip pingtunnel
|
|
|
|
GOOS=windows GOARCH=386 go build
|
|
zip pingtunnel_windows32.zip pingtunnel.exe
|
|
|
|
GOOS=linux GOARCH=arm64 go build
|
|
zip pingtunnel_arm64.zip pingtunnel
|
|
|
|
GOOS=linux GOARCH=mips64 go build
|
|
zip pingtunnel_mips64.zip pingtunnel
|
|
|
|
GOOS=linux GOARCH=mips64le go build
|
|
zip pingtunnel_mips64le.zip pingtunnel
|
|
|
|
GOOS=linux GOARCH=mips64p32 go build
|
|
zip pingtunnel_mips64p32.zip pingtunnel
|
|
|
|
GOOS=linux GOARCH=mips64p32le go build
|
|
zip pingtunnel_mips64p32le.zip pingtunnel
|