forked from cloudfoundry-incubator/quarks-secret
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
40 lines (28 loc) · 711 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
32
33
34
35
36
37
38
39
40
export PROJECT ?= quarks-secret
export QUARKS_UTILS ?= tools/quarks-utils
export GROUP_VERSIONS ?= quarkssecret:v1alpha1
test-unit: tools
$(QUARKS_UTILS)/bin/test-unit
test-cluster: tools
bin/build-image
$(QUARKS_UTILS)/bin/test-integration
$(QUARKS_UTILS)/bin/test-cli-e2e
lint: tools
$(QUARKS_UTILS)/bin/lint
build-image: tools
bin/build-image
.PHONY: tools
tools:
bin/tools
############ GENERATE TARGETS ############
generate: gen-kube
gen-kube: tools
$(QUARKS_UTILS)/bin/gen-kube
gen-command-docs:
rm -f docs/commands/*
go run cmd/docs/gen-command-docs.go docs/commands
gen-fakes:
bin/gen-fakes
############ COVERAGE TARGETS ############
coverage: tools
$(QUARKS_UTILS)/bin/coverage