Improve contribution part of this repository (#328) All checks were successful continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: gitea/helm-chart#328 Reviewed-by: techknowlogick <techknowlogick@gitea.io> Co-authored-by: justusbunsi <justusbunsi@noreply.gitea.io> Co-committed-by: justusbunsi <justusbunsi@noreply.gitea.io>
This commit was merged in pull request #328.
This commit is contained in:
committed by
techknowlogick
parent b3b91e2044
commit 2cc3195eaa
21 Makefile
21
Makefile @@ -1,15 +1,8 @@ | ||||
readme: helm-doc | ||||
readme-generator -v values.yaml -r README.md | ||||
markdownlint *.md -f | ||||
.PHONY: prepare-environment | ||||
prepare-environment: | ||||
npm install | ||||
| ||||
.PHONY: helm-doc | ||||
helm-doc: | ||||
ifeq (, $(shell which readme-generator)) | ||||
@{ \ | ||||
set -e ;\ | ||||
echo 'installing readme-generator-for-helm' ;\ | ||||
npm install -g readme-generator-for-helm ;\ | ||||
} | ||||
else | ||||
echo 'readme-generator-for-helm is already installed' | ||||
endif | ||||
.PHONY: readme | ||||
readme: prepare-environment | ||||
npm run readme:parameters | ||||
npm run readme:lint | ||||
| ||||
Reference in New Issue
Block a user