Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove -i go build flag (#3128) #3335

Merged
merged 3 commits into from
Jun 15, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -123,23 +123,23 @@ copyright: cmd/tools/copyright/licensegen.go

cadence-cassandra-tool: $(TOOLS_SRC)
@echo "compiling cadence-cassandra-tool with OS: $(GOOS), ARCH: $(GOARCH)"
go build -i -o cadence-cassandra-tool cmd/tools/cassandra/main.go
go build -o cadence-cassandra-tool cmd/tools/cassandra/main.go

cadence-sql-tool: $(TOOLS_SRC)
@echo "compiling cadence-sql-tool with OS: $(GOOS), ARCH: $(GOARCH)"
go build -i -o cadence-sql-tool cmd/tools/sql/main.go
go build -o cadence-sql-tool cmd/tools/sql/main.go

cadence: $(TOOLS_SRC)
@echo "compiling cadence with OS: $(GOOS), ARCH: $(GOARCH)"
go build -i -o cadence cmd/tools/cli/main.go
go build -o cadence cmd/tools/cli/main.go

cadence-server: $(ALL_SRC)
@echo "compiling cadence-server with OS: $(GOOS), ARCH: $(GOARCH)"
go build -ldflags '$(GO_BUILD_LDFLAGS)' -i -o cadence-server cmd/server/main.go
go build -ldflags '$(GO_BUILD_LDFLAGS)' -o cadence-server cmd/server/main.go

cadence-canary: $(ALL_SRC)
@echo "compiling cadence-canary with OS: $(GOOS), ARCH: $(GOARCH)"
go build -i -o cadence-canary cmd/canary/main.go
go build -o cadence-canary cmd/canary/main.go

go-generate:
GO111MODULE=off go get -u github.com/myitcv/gobin
Expand Down