forked from artemiscloud/activemq-artemis-operator
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
84 lines (57 loc) · 1.1 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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
# kernel-style V=1 build verbosity
ifeq ("$(origin V)", "command line")
BUILD_VERBOSE = $(V)
endif
ifeq ($(BUILD_VERBOSE),1)
Q =
else
Q = @
endif
#export CGO_ENABLED:=0
.PHONY: all
all: build
.PHONY: mod
mod:
./scripts/go-mod.sh
.PHONY: format
format:
./scripts/go-fmt.sh
.PHONY: go-generate
go-generate: mod
./scripts/go-gen.sh
.PHONY: sdk-generate
sdk-generate: mod
./scripts/go-gen.sh
.PHONY: vet
vet:
./scripts/go-vet.sh
.PHONY: test
test:
./scripts/go-test.sh
.PHONY: lint
lint:
# Temporarily disabled
# ./scripts/go-lint.sh
# ./scripts/yaml-lint.sh
.PHONY: build
build:
./scripts/go-build.sh
.PHONY: clean
clean:
rm -rf build/_output
.PHONY: csv
csv:
./scripts/go-csv.sh
# test/ci-go: test/sanity test/unit test/subcommand test/e2e/go
# test/ci-ansible: test/e2e/ansible
# test/sanity:
# ./scripts/tests/sanity-check.sh
# test/unit:
# ./scripts/tests/unit.sh
# test/subcommand:
# ./scripts/tests/test-subcommand.sh
# test/e2e: test/e2e/go test/e2e/ansible
# test/e2e/go:
# ./scripts/tests/e2e-go.sh
# test/e2e/ansible:
# ./scripts/tests/e2e-ansible.sh