-
Notifications
You must be signed in to change notification settings - Fork 1
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
andy
committed
Jul 23, 2024
1 parent
9734c4b
commit 01b8968
Showing
2 changed files
with
15 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 |
---|---|---|
|
@@ -23,4 +23,5 @@ go.work.sum | |
.idea | ||
.vscode | ||
config.yml | ||
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,14 @@ | ||
SET BINARY_NAME=ela | ||
|
||
go build -o bin/%BINARY_NAME%.exe | ||
|
||
SET CGO_ENABLED=0 | ||
SET GOOS=darwin | ||
SET GOARCH=amd64 | ||
go build -o bin/%BINARY_NAME%.darwin.amd64 | ||
|
||
|
||
SET CGO_ENABLED=0 | ||
SET GOOS=linux | ||
SET GOARCH=amd64 | ||
go build -o bin/%BINARY_NAME%.linux.amd64 |