mirror of
https://github.com/tavenli/port-forward.git
synced 2024-04-21 12:42:13 +00:00
19 lines
264 B
Batchfile
19 lines
264 B
Batchfile
|
|
::set GoDevWork="D:\CodeWork\port-forward\"
|
|
|
|
echo "Clean for build..."
|
|
go clean
|
|
|
|
echo "Build For windows..."
|
|
|
|
set GOOS=windows
|
|
set GOARCH=amd64
|
|
::set GOPATH=%GoDevWork%;%GOPATH%
|
|
go build -o forward-server.exe
|
|
|
|
echo "--------- Build For windows Success!"
|
|
|
|
|
|
pause
|
|
|