diff --git a/Makefile b/Makefile index e43e0df..2188028 100644 --- a/Makefile +++ b/Makefile @@ -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 \ No newline at end of file + 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