File tree 1 file changed +5
-31
lines changed
1 file changed +5
-31
lines changed Original file line number Diff line number Diff line change 8
8
9
9
export BUILDX_CMD ?= docker buildx
10
10
11
+ BAKE_TARGETS := binaries binaries-cross lint lint-gopls validate-vendor validate-docs validate-authors validate-generated-files
12
+
11
13
.PHONY : all
12
14
all : binaries
13
15
@@ -19,13 +21,9 @@ build:
19
21
shell :
20
22
./hack/shell
21
23
22
- .PHONY : binaries
23
- binaries :
24
- $(BUILDX_CMD ) bake binaries
25
-
26
- .PHONY : binaries-cross
27
- binaries-cross :
28
- $(BUILDX_CMD ) bake binaries-cross
24
+ .PHONY : $(BAKE_TARGETS )
25
+ $(BAKE_TARGETS ) :
26
+ $(BUILDX_CMD ) bake $@
29
27
30
28
.PHONY : install
31
29
install : binaries
@@ -39,14 +37,6 @@ release:
39
37
.PHONY : validate-all
40
38
validate-all : lint test validate-vendor validate-docs validate-generated-files
41
39
42
- .PHONY : lint
43
- lint :
44
- $(BUILDX_CMD ) bake lint
45
-
46
- .PHONY : lint-gopls
47
- lint-gopls :
48
- $(BUILDX_CMD ) bake lint-gopls
49
-
50
40
.PHONY : test
51
41
test :
52
42
./hack/test
@@ -59,22 +49,6 @@ test-unit:
59
49
test-integration :
60
50
TESTPKGS=./tests ./hack/test
61
51
62
- .PHONY : validate-vendor
63
- validate-vendor :
64
- $(BUILDX_CMD ) bake validate-vendor
65
-
66
- .PHONY : validate-docs
67
- validate-docs :
68
- $(BUILDX_CMD ) bake validate-docs
69
-
70
- .PHONY : validate-authors
71
- validate-authors :
72
- $(BUILDX_CMD ) bake validate-authors
73
-
74
- .PHONY : validate-generated-files
75
- validate-generated-files :
76
- $(BUILDX_CMD ) bake validate-generated-files
77
-
78
52
.PHONY : test-driver
79
53
test-driver :
80
54
./hack/test-driver
You can’t perform that action at this time.
0 commit comments