Skip to content

Commit

Permalink
Merge pull request #280 from batchcorp/blinktag/arm
Browse files Browse the repository at this point in the history
M1 build
  • Loading branch information
blinktag authored May 12, 2022
2 parents 0fb0260 + 565fefa commit 099f6d7
Show file tree
Hide file tree
Showing 5 changed files with 23 additions and 2 deletions.
7 changes: 6 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ start/deps:

.PHONY: build
build: description = Build $(BINARY)
build: clean build/linux build/darwin build/windows
build: clean build/linux build/darwin build/darwin/arm64 build/windows

.PHONY: build/linux
build/linux: description = Build $(BINARY) for linux
Expand All @@ -58,6 +58,11 @@ build/darwin: description = Build $(BINARY) for darwin
build/darwin: clean
GOOS=darwin GOARCH=amd64 $(GO) build $(GO_BUILD_FLAGS) -o ./build/$(BINARY)-darwin

.PHONY: build/darwin/arm64
build/darwin/arm64: description = Build $(BINARY) for darwin/arm64 (Apple Silicon)
build/darwin/arm64: clean
GOOS=darwin GOARCH=arm64 $(GO) build $(GO_BUILD_FLAGS) -o ./build/$(BINARY)-darwin-arm64

.PHONY: build/windows
build/windows: description = Build $(BINARY) for windows
build/windows: clean
Expand Down
2 changes: 2 additions & 0 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ module github.com/batchcorp/plumber

go 1.16

replace github.com/v2pro/plz => github.com/batchcorp/plz v0.9.2

require (
cloud.google.com/go/pubsub v1.6.1
github.com/Azure/azure-event-hubs-go/v3 v3.3.16
Expand Down
2 changes: 2 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,8 @@ github.com/batchcorp/plumber-schemas v0.0.157 h1:3I0cT/QMBA1552N7o9XaQmOP+Hjp60x
github.com/batchcorp/plumber-schemas v0.0.157/go.mod h1:3ujEtKZPcA9xzQ1ZTq2tsdRxwgXNj/6QTESGMGkN8qE=
github.com/batchcorp/plumber-schemas v0.0.158 h1:udZq/4TBLdSGeOrApD7jJD6CzUNqEq0McbxDvDNBrVc=
github.com/batchcorp/plumber-schemas v0.0.158/go.mod h1:3ujEtKZPcA9xzQ1ZTq2tsdRxwgXNj/6QTESGMGkN8qE=
github.com/batchcorp/plz v0.9.2 h1:bPqb+sn7OUrpHjeTEI9YO4BJS9IQ7AstDDz2gn+tcn8=
github.com/batchcorp/plz v0.9.2/go.mod h1:3gacX+hQo+xvl0vtLqCMufzxuNCwt4geAVOMt2LQYfE=
github.com/batchcorp/rabbit v0.1.17 h1:dui1W7FLTrNxyVlDN+G+6d8LXz8HBhVAcUethXql9vQ=
github.com/batchcorp/rabbit v0.1.17/go.mod h1:2nplLhzjXrddaHWxrnduZS6tFwpF9QSpJ0a2A3erNYw=
github.com/beefsack/go-rate v0.0.0-20180408011153-efa7637bb9b6/go.mod h1:6YNgTHLutezwnBvyneBbwvB8C82y3dcoOj5EQJIdGXA=
Expand Down
11 changes: 11 additions & 0 deletions vendor/github.com/v2pro/plz/gls/goid_arm64.s

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion vendor/modules.txt
Original file line number Diff line number Diff line change
Expand Up @@ -507,7 +507,7 @@ github.com/tidwall/gjson
github.com/tidwall/match
# github.com/tidwall/pretty v1.2.0
github.com/tidwall/pretty
# github.com/v2pro/plz v0.0.0-20200805122259-422184e41b6e
# github.com/v2pro/plz v0.0.0-20200805122259-422184e41b6e => github.com/batchcorp/plz v0.9.2
## explicit
github.com/v2pro/plz/concurrent
github.com/v2pro/plz/countlog
Expand Down Expand Up @@ -828,3 +828,4 @@ nhooyr.io/websocket/internal/bpool
nhooyr.io/websocket/internal/errd
nhooyr.io/websocket/internal/wsjs
nhooyr.io/websocket/internal/xsync
# github.com/v2pro/plz => github.com/batchcorp/plz v0.9.2

0 comments on commit 099f6d7

Please sign in to comment.