forked from cloudfoundry-incubator/quarks-operator
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
36 lines (26 loc) · 852 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
all: test-unit build image
.PHONY: build
build:
bin/build
image: build
bin/build-image
publish: image
bin/publish
export CFO_NAMESPACE ?= default
up:
kubectl apply -f deploy/crds/fissile_v1alpha1_boshdeployment_crd.yaml
@echo watching namespace ${CFO_NAMESPACE}
go run main.go
generate:
bash ${GOPATH}/src/k8s.io/code-generator/generate-groups.sh deepcopy code.cloudfoundry.org/cf-operator/pkg/generated github.com/cloudfoundry-incubator/cf-operator/pkg/apis fissile:v1alpha1,
client-gen -h /dev/null --clientset-name versioned --input-base code.cloudfoundry.org/cf-operator --input pkg/apis/fissile/v1alpha1 --output-package code.cloudfoundry.org/cf-operator/pkg/client/clientset
bin/gen-fakes
vet:
bin/vet
lint:
bin/lint
test-unit:
bin/test-unit
test-integration:
bin/test-integration
test: vet lint test-unit test-integration