Skip to content

Commit

Permalink
Add docs rule to Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
AntiD2ta committed Feb 14, 2024
1 parent 21fef4e commit 8bcd2d6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,8 @@ DEFAULT_GOAL := help
lint: ## Run chart-tester lint
@docker run -it --rm --workdir=/data --volume $(shell pwd)/ct.yaml:/ct.yaml --volume ~/.kube/config:/root/.kube/config:ro --volume $(shell pwd):/data quay.io/helmpack/chart-testing:v3.10.1 ct lint --all --config /ct.yaml

docs: ## Run helm-docs
@docker run --rm -v $(shell pwd):/helm-docs -u $(shell id -u):$(shell id -g) jnorwood/helm-docs:latest

help: ## Show this help
@grep -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}'

0 comments on commit 8bcd2d6

Please sign in to comment.