Skip to content

Commit

Permalink
Add build for Linux-arm64
Browse files Browse the repository at this point in the history
  • Loading branch information
IngmarStein committed Nov 7, 2023
1 parent acc2f29 commit 1ba819a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
.PHONY: all

all: bin/shelly-bulk-update-Darwin-x86_64 bin/shelly-bulk-update-Darwin-arm64 bin/shelly-bulk-update-Linux-x86_64 bin/shelly-bulk-update-Windows-x86_64.exe
all: bin/shelly-bulk-update-Darwin-x86_64 bin/shelly-bulk-update-Darwin-arm64 bin/shelly-bulk-update-Linux-x86_64 bin/shelly-bulk-update-Linux-armv7 bin/shelly-bulk-update-Linux-arm64 bin/shelly-bulk-update-Windows-x86_64.exe

bin/shelly-bulk-update-Darwin-x86_64: main.go
GOOS=darwin GOARCH=amd64 go build -o $@ .
Expand All @@ -14,6 +14,9 @@ bin/shelly-bulk-update-Linux-x86_64: main.go
bin/shelly-bulk-update-Linux-armv7: main.go
GOOS=linux GOARCH=arm GOARM=7 go build -o $@ .

bin/shelly-bulk-update-Linux-arm64: main.go
GOOS=linux GOARCH=arm64 go build -o $@ .

bin/shelly-bulk-update-Windows-x86_64.exe: main.go
GOOS=windows GOARCH=amd64 go build -o $@ .

0 comments on commit 1ba819a

Please sign in to comment.