forked from openshift/cluster-network-operator
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
31 lines (23 loc) · 731 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
all: build
.PHONY: all
# Include the library makefile
include $(addprefix ./vendor/github.com/openshift/build-machinery-go/make/, \
golang.mk \
targets/openshift/deps-gomod.mk \
)
# Run core verification and all self contained tests.
#
# Example:
# make check
check: | verify test-unit golangci-lint
.PHONY: check
golangci-lint:
golangci-lint run --verbose --print-resources-usage --modules-download-mode=vendor --timeout=5m0s
.PHONY: golangci-lint
install.tools:
curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | bash -s -- -b ${GOPATH}/bin
.PHONY: install.tools
clean:
$(RM) cluster-network-operator cluster-nework-check-endpoints
.PHONY: clean
GO_TEST_PACKAGES :=./pkg/... ./cmd/...