Skip to content

Commit

Permalink
Add M1 macOS to Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
CGamesPlay committed Oct 19, 2022
1 parent a9f5d77 commit 0f2706f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,13 @@
test:
@go test -cover ./...

.PHONY: dist
dist:
@gox \
--osarch "!darwin/386" \
--osarch "darwin/amd64 darwin/arm64 linux/amd64 linux/arm" \
--output "dist/{{.Dir}}_{{.OS}}_{{.Arch}}"
rm dist/*.gz
ls dist/* | while read i; do gzip $$i; done

clean:
rm -fr dist
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"github.com/tj/robo/config"
)

var version = "0.7.0"
var version = "0.7.0-cgamesplay"

const usage = `
Usage:
Expand Down

0 comments on commit 0f2706f

Please sign in to comment.