File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 83
83
84
84
# Recipes for individual function
85
85
.PHONY : func-fix func-vet func-fmt func-test func-lint \
86
- func-build func-push func-verify
87
- func-verify : func-fix func-vet func-fmt func-test func-lint
86
+ func-build func-push func-verify func-check-licenses
87
+ func-verify : func-fix func-vet func-fmt func-test func-lint func-check-licenses
88
88
89
89
func-fix :
90
90
cd $(CURRENT_FUNCTION ) && go fix ./...
@@ -103,7 +103,7 @@ func-test:
103
103
func-vet :
104
104
cd $(CURRENT_FUNCTION ) && go vet ./...
105
105
106
- func-check-licenses :
106
+ func-check-licenses : install-go-licenses
107
107
@echo Checking licenses for $(CURRENT_FUNCTION ) ...
108
108
cd $(CURRENT_FUNCTION ) && $(GO_LICENSES ) check .
109
109
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ CONTRIB_GCR = gcr.io/kpt-fn-contrib
21
21
help : # # Print this help
22
22
@grep -E ' ^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST ) | sort | awk ' BEGIN {FS = ":.*?## "}; {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}'
23
23
24
- .PHONY : test build npm-ci push
24
+ .PHONY : test build npm-ci push check-licenses
25
25
26
26
# Edit this list to contain all of the curated ts functions
27
27
CURATED_FUNCTIONS := \
@@ -95,10 +95,10 @@ $(FUNCTION_CHECKLICENSES):
95
95
func-npm-ci :
96
96
cd $(CURRENT_FUNCTION ) && npm ci
97
97
98
- func-test : func-npm-ci
98
+ func-test : func-npm-ci func-check-licenses
99
99
cd $(CURRENT_FUNCTION ) && npm test
100
100
101
- func-check-licenses : func-npm-ci
101
+ func-check-licenses :
102
102
cd $(CURRENT_FUNCTION ) && npm run check-licenses
103
103
104
104
func-build : func-test
You can’t perform that action at this time.
0 commit comments