-
Notifications
You must be signed in to change notification settings - Fork 6
/
Makefile
34 lines (29 loc) · 1.11 KB
/
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
# Flux cue utils
REPO_ROOT := $(shell git rev-parse --show-toplevel)
BUILD_DIR := $(REPO_ROOT)/build
all: vet fmt
vet:
@cue vet ./... -c
@cue vet ./pkg/... -c
@cue vet ./generators/... -c
@cue vet ./tools/... -c
fmt:
@cue fmt ./...
@cue fmt ./pkg/...
@cue fmt ./generators/...
@cue fmt ./tools/...
mod:
go get -u k8s.io/api/...
cue get go k8s.io/api/...
go get -u github.com/fluxcd/source-controller/api/v1beta2
cue get go github.com/fluxcd/source-controller/api/v1beta2
go get -u github.com/fluxcd/kustomize-controller/api/v1beta2
cue get go github.com/fluxcd/kustomize-controller/api/v1beta2
go get -u github.com/fluxcd/notification-controller/api/v1beta1
cue get go github.com/fluxcd/notification-controller/api/v1beta1
go get -u github.com/fluxcd/helm-controller/api/v2beta1
cue get go github.com/fluxcd/helm-controller/api/v2beta1
go get -u github.com/fluxcd/image-reflector-controller/api/v1beta1
cue get go github.com/fluxcd/image-reflector-controller/api/v1beta1
go get -u github.com/fluxcd/image-automation-controller/api/v1beta1
cue get go github.com/fluxcd/image-automation-controller/api/v1beta1