mirror of
https://github.com/tavenli/port-forward.git
synced 2024-04-21 12:42:13 +00:00
14 lines
246 B
Bash
14 lines
246 B
Bash
#!/bin/sh
|
|
|
|
export GoDevWork=/Users/tavenli/Desktop/Work/port-forward-v2
|
|
|
|
echo "Build For Linux..."
|
|
export GOOS=linux
|
|
export GOARCH=amd64
|
|
export GOPATH=${GoDevWork}:${GOPATH}
|
|
go build -o forward-server
|
|
|
|
echo "--------- Build For Linux Success!"
|
|
|
|
|