Skip to content

Commit

Permalink
Update Makefile
Browse files Browse the repository at this point in the history
Stripping debug info from the binaries
  • Loading branch information
agnivade committed Nov 15, 2017
1 parent 1450380 commit 18f201f
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@ bench:
go test -run=XXX -bench=Processor -benchmem

release:
GOOS=darwin GOARCH=amd64 go build -o funnel_darwin-amd64 ./cmd/funnel
GOOS=darwin GOARCH=amd64 go build -tags "disableelasticsearch disableinfluxdb disablekafka disableredis disables3 disablenats" -o funnel_minimal_darwin-amd64 ./cmd/funnel
GOOS=linux GOARCH=arm64 go build -o funnel_linux-arm64 ./cmd/funnel
GOOS=linux GOARCH=arm64 go build -tags "disableelasticsearch disableinfluxdb disablekafka disableredis disables3 disablenats" -o funnel_minimal_linux-arm64 ./cmd/funnel
GOOS=linux GOARCH=amd64 go build -o funnel_linux-amd64 ./cmd/funnel
GOOS=linux GOARCH=amd64 go build -tags "disableelasticsearch disableinfluxdb disablekafka disableredis disables3 disablenats" -o funnel_minimal_linux-amd64 ./cmd/funnel
GOOS=darwin GOARCH=amd64 go build -o funnel_darwin-amd64 -ldflags "-s -w" ./cmd/funnel
GOOS=darwin GOARCH=amd64 go build -tags "disableelasticsearch disableinfluxdb disablekafka disableredis disables3 disablenats" -o funnel_minimal_darwin-amd64 -ldflags "-s -w" ./cmd/funnel
GOOS=linux GOARCH=arm64 go build -o funnel_linux-arm64 -ldflags "-s -w" ./cmd/funnel
GOOS=linux GOARCH=arm64 go build -tags "disableelasticsearch disableinfluxdb disablekafka disableredis disables3 disablenats" -o funnel_minimal_linux-arm64 -ldflags "-s -w" ./cmd/funnel
GOOS=linux GOARCH=amd64 go build -o funnel_linux-amd64 -ldflags "-s -w" ./cmd/funnel
GOOS=linux GOARCH=amd64 go build -tags "disableelasticsearch disableinfluxdb disablekafka disableredis disables3 disablenats" -o funnel_minimal_linux-amd64 -ldflags "-s -w" ./cmd/funnel

0 comments on commit 18f201f

Please sign in to comment.