Improve contribution part of this repository (#328)

Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/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 is contained in:
justusbunsi
2022-06-13 03:35:24 +08:00
committed by techknowlogick
parent b3b91e2044
commit 2cc3195eaa
12 changed files with 863 additions and 38 deletions

View File

@ -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