Skip to content

Commit e2aafdd

Browse files
authored
Merge pull request #2751 from kolyshkin/no-i
go {build,test}: rm -i option
2 parents 9f271c2 + cb50952 commit e2aafdd

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

direct.mk

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ ineffassign: ## run ineffassign
8383
.PHONY: build
8484
build: ## build the go packages
8585
@echo "🐳 $@"
86-
@go build -i -tags "${DOCKER_BUILDTAGS}" -v ${GO_LDFLAGS} ${GO_GCFLAGS} ${PACKAGES}
86+
@go build -tags "${DOCKER_BUILDTAGS}" -v ${GO_LDFLAGS} ${GO_GCFLAGS} ${PACKAGES}
8787

8888
.PHONY: test
8989
test: ## run tests, except integration tests
@@ -100,7 +100,7 @@ bin/%: cmd/% .FORCE
100100
@test $$(go list) = "${PROJECT_ROOT}" || \
101101
(echo "👹 Please correctly set up your Go build environment. This project must be located at <GOPATH>/src/${PROJECT_ROOT}" && false)
102102
@echo "🐳 $@"
103-
@go build -i -tags "${DOCKER_BUILDTAGS}" -o $@ ${GO_LDFLAGS} ${GO_GCFLAGS} ./$<
103+
@go build -tags "${DOCKER_BUILDTAGS}" -o $@ ${GO_LDFLAGS} ${GO_GCFLAGS} ./$<
104104

105105
.PHONY: .FORCE
106106
.FORCE:
@@ -129,7 +129,7 @@ uninstall:
129129
coverage: ## generate coverprofiles from the unit tests
130130
@echo "🐳 $@"
131131
@( for pkg in $(filter-out ${INTEGRATION_PACKAGE},${PACKAGES}); do \
132-
go test -i ${RACE} -tags "${DOCKER_BUILDTAGS}" -test.short -coverprofile="../../../$$pkg/coverage.txt" -covermode=atomic $$pkg || exit; \
132+
go test ${RACE} -tags "${DOCKER_BUILDTAGS}" -test.short -coverprofile="../../../$$pkg/coverage.txt" -covermode=atomic $$pkg || exit; \
133133
go test ${RACE} -tags "${DOCKER_BUILDTAGS}" -test.short -coverprofile="../../../$$pkg/coverage.txt" -covermode=atomic $$pkg || exit; \
134134
done )
135135

0 commit comments

Comments
 (0)