-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Dzianis Andreyenka <[email protected]>
- Loading branch information
1 parent
9def885
commit 79e9cb0
Showing
1 changed file
with
5 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,6 +4,10 @@ GOBIN := $(shell $(VGO) env GOPATH)/bin | |
LINT := $(GOBIN)/golangci-lint | ||
MOCKERY := $(GOBIN)/mockery | ||
|
||
# Expect that FireFly compiles with CGO disabled | ||
CGO_ENABLED=0 | ||
GOGC=30 | ||
|
||
.DELETE_ON_ERROR: | ||
|
||
all: build test go-mod-tidy | ||
|
@@ -15,7 +19,7 @@ coverage: test coverage.html | |
lint: ${LINT} | ||
$(LINT) run -v --timeout 5m | ||
${MOCKERY}: | ||
$(VGO) install github.com/vektra/mockery/[email protected] | ||
$(VGO) install github.com/vektra/mockery/cmd/mockery@latest | ||
${LINT}: | ||
$(VGO) install github.com/golangci/golangci-lint/cmd/[email protected] | ||
mockpaths: | ||
|