-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
8012c43
commit af2f9b9
Showing
3 changed files
with
51 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
cmd/localrelay/*.toml | ||
bin/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
build: | ||
GOOS=windows GOARCH=amd64 go build -ldflags="-s -w" -trimpath -o ./bin/localrelay-windows-x64.exe ./cmd/localrelay | ||
GOOS=windows GOARCH=386 go build -ldflags="-s -w" -trimpath -o ./bin/localrelay-windows.exe ./cmd/localrelay | ||
GOOS=windows GOARCH=arm64 go build -ldflags="-s -w" -trimpath -o ./bin/localrelay-windows-arm64.exe ./cmd/localrelay | ||
|
||
GOOS=darwin GOARCH=amd64 go build -ldflags="-s -w" -trimpath -o ./bin/localrelay-darwin ./cmd/localrelay | ||
GOOS=darwin GOARCH=arm64 go build -ldflags="-s -w" -trimpath -o ./bin/localrelay-darwin-arm64 ./cmd/localrelay | ||
|
||
GOOS=linux GOARCH=amd64 go build -ldflags="-s -w" -trimpath -o ./bin/localrelay-linux-64 ./cmd/localrelay | ||
GOOS=linux GOARCH=386 go build -ldflags="-s -w" -trimpath -o ./bin/localrelay-linux ./cmd/localrelay | ||
GOOS=linux GOARCH=arm64 go build -ldflags="-s -w" -trimpath -o ./bin/localrelay-linux-arm64 ./cmd/localrelay | ||
|
||
GOOS=freebsd GOARCH=amd64 go build -ldflags="-s -w" -trimpath -o ./bin/localrelay-freebsd-64 ./cmd/localrelay | ||
GOOS=freebsd GOARCH=386 go build -ldflags="-s -w" -trimpath -o ./bin/localrelay-freebsd ./cmd/localrelay | ||
GOOS=freebsd GOARCH=arm64 go build -ldflags="-s -w" -trimpath -o ./bin/localrelay-freebsd-arm64 ./cmd/localrelay | ||
|
||
GOOS=openbsd GOARCH=amd64 go build -ldflags="-s -w" -trimpath -o ./bin/localrelay-openbsd-64 ./cmd/localrelay | ||
GOOS=openbsd GOARCH=386 go build -ldflags="-s -w" -trimpath -o ./bin/localrelay-openbsd ./cmd/localrelay | ||
GOOS=openbsd GOARCH=arm64 go build -ldflags="-s -w" -trimpath -o ./bin/localrelay-openbsd-arm64 ./cmd/localrelay | ||
|
||
clean: | ||
rm -rf ./bin/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters