File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ SCANNERS_CHART_LIST := $(sort $(wildcard $(SCANNERS_DIR)/*/Chart.yaml))
1111
1212all : help
1313
14- .PHONY :
14+ .PHONY : npm-ci-all
1515npm-ci-all : # # Runs npm ci in all node module subfolders.
1616# This find construct is based on https://stackoverflow.com/questions/4210042/how-to-exclude-a-directory-in-find-command/4210072#4210072
1717 find . \( \
@@ -34,10 +34,11 @@ npm-ci-all: ## Runs npm ci in all node module subfolders.
3434 -iname package.json \
3535 -execdir npm ci \;
3636
37- .PHONY :
37+ .PHONY : npm-test-all
3838npm-test-all : # # Runs all Jest based test suites.
3939 npm test -- --testPathIgnorePatterns " /integration-tests/"
4040
41+ .PHONY : test-all
4142test-all : # # Runs all makefile based test suites.
4243 @echo " .: ⚙ Installing the operator for makefile based testing."
4344 cd ./operator && $(MAKE ) -s docker-build docker-export kind-import helm-deploy
@@ -49,7 +50,7 @@ test-all: ## Runs all makefile based test suites.
4950 cd -; \
5051 done;
5152
52- .PHONY :
53+ .PHONY : readme
5354readme : # # Generate README.md based on Chart.yaml and template.
5455 @echo " .: ⚙ Generate Helm Docs."
5556 helm-docs --template-files=$(HELM_DOCS_DIR ) /templates.gotmpl --template-files=.helm-docs.gotmpl --template-files=$(HELM_DOCS_DIR ) /README.md.gotmpl
144145 @echo "Scanner name not defined, please provide via make create-new-scanner NAME=NEW-SCANNER"
145146endif
146147
147- .PHONY :
148+ .PHONY : help
148149help : # # Display this help screen.
149150 @grep -h -E ' ^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST ) | \
150151 awk ' BEGIN {FS = ":.*?## "}; {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}'
You can’t perform that action at this time.
0 commit comments