File tree Expand file tree Collapse file tree 3 files changed +6
-4
lines changed
Expand file tree Collapse file tree 3 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -16,8 +16,6 @@ builds:
1616 env :
1717 - CGO_ENABLED=0
1818 ignore :
19- - goos : linux
20- goarch : arm64
2119 - goos : windows
2220 goarch : arm64
2321archives :
Original file line number Diff line number Diff line change 44# Execute go build
55# Copy files to machine go/bin folder (temp target to avoid manual steps when developing locally)
66
7- all :format clean dir gen build-linux build-darwin build-darwin-arm build-windows copy tests
8- .PHONY : build-darwin-arm build-darwin build-linux build-windows tests
7+ all :format clean dir gen build-linux build-linux-arm build- darwin build-darwin-arm build-windows copy tests
8+ .PHONY : build-darwin-arm build-darwin build-linux build-linux-arm build- windows tests
99
1010
1111GOCMD =go
5353build-linux :
5454 CGO_ENABLED=0 GOOS=linux GOARCH=amd64 $(GOBUILD ) -o release/$(BINARY_NAME ) _linux -v
5555
56+ build-linux-arm :
57+ CGO_ENABLED=0 GOOS=linux GOARCH=arm64 $(GOBUILD ) -o release/$(BINARY_NAME ) _linux_arm -v
58+
5659build-darwin :
5760 CGO_ENABLED=0 GOOS=darwin GOARCH=amd64 $(GOBUILD ) -o release/$(BINARY_NAME ) -v
5861
Original file line number Diff line number Diff line change @@ -14,6 +14,7 @@ module.exports = binwrap({
1414 'darwin-arm64' : root + 'Darwin_arm64.tar.gz' ,
1515 'darwin-x64' : root + 'Darwin_amd64.tar.gz' ,
1616 'linux-x64' : root + 'Linux_amd64.tar.gz' ,
17+ 'linux-arm64' : root + 'Linux_arm64.tar.gz' ,
1718 'win32-x64' : root + 'Windows_amd64.tar.gz'
1819 }
1920} ) ;
You can’t perform that action at this time.
0 commit comments