8 lines
133 B
Batchfile
8 lines
133 B
Batchfile
SET GOOS=linux
|
|
SET GOARCH=amd64
|
|
go build -o zhub.sh -ldflags "-s -w" ./main.go
|
|
upx -9 zhub.sh
|
|
|
|
scp zhub.sh zhost:
|
|
del zhub.sh
|