Add bin directory
This commit is contained in:
6
bin/build-go
Executable file
6
bin/build-go
Executable file
@@ -0,0 +1,6 @@
|
||||
#! /bin/bash
|
||||
|
||||
GOOS=windows GOARCH=amd64 go build -o "$1_windows.exe"
|
||||
GOOS=linux GOARCH=amd64 go build -o "$1_linux"
|
||||
GOOS=darwin GOARCH=amd64 go build -o "$1_macos"
|
||||
GOOS=darwin GOARCH=arm64 go build -o "$1_macos_arm"
|
||||
Reference in New Issue
Block a user