-
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.
Include build for all platforms script
- Loading branch information
1 parent
2dbf62e
commit f309e10
Showing
2 changed files
with
10 additions
and
1 deletion.
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
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,8 @@ | ||
# Builds the CLI for all operating systems | ||
GOOS=linux GOARCH=amd64 go build -ldflags "-s -w" -o bin/inkfem_linux_amd64 inkfem.go | ||
GOOS=linux GOARCH=arm64 go build -ldflags "-s -w" -o bin/inkfem_linux_arm64 inkfem.go | ||
|
||
GOOS=darwin GOARCH=amd64 go build -ldflags "-s -w" -o bin/inkfem_darwin_amd64 inkfem.go | ||
GOOS=darwin GOARCH=arm64 go build -ldflags "-s -w" -o bin/inkfem_darwin_arm64 inkfem.go | ||
|
||
GOOS=windows GOARCH=amd64 go build -ldflags "-s -w" -o bin/inkfem_windows_amd64.exe inkfem.go |