Add docs target to Makefile
Also adds the successful build of docs to the linting target Change-Id: I1771125b1208819806c47aabed62a8f994a771ab
This commit is contained in:
parent
2af8f143bd
commit
22e065bdd6
9
Makefile
9
Makefile
|
@ -30,7 +30,7 @@ charts: clean
|
||||||
|
|
||||||
# Perform Linting
|
# Perform Linting
|
||||||
.PHONY: lint
|
.PHONY: lint
|
||||||
lint: pep8 helm_lint
|
lint: pep8 helm_lint build_docs
|
||||||
|
|
||||||
# Dry run templating of chart
|
# Dry run templating of chart
|
||||||
.PHONY: dry-run
|
.PHONY: dry-run
|
||||||
|
@ -38,6 +38,9 @@ dry-run: clean
|
||||||
tools/helm_tk.sh $(HELM)
|
tools/helm_tk.sh $(HELM)
|
||||||
$(HELM) template charts/shipyard
|
$(HELM) template charts/shipyard
|
||||||
|
|
||||||
|
.PHONY: docs
|
||||||
|
docs: clean build_docs
|
||||||
|
|
||||||
# Make targets intended for use by the primary targets above.
|
# Make targets intended for use by the primary targets above.
|
||||||
|
|
||||||
.PHONY: build_airflow
|
.PHONY: build_airflow
|
||||||
|
@ -60,3 +63,7 @@ pep8:
|
||||||
helm_lint: clean
|
helm_lint: clean
|
||||||
tools/helm_tk.sh $(HELM)
|
tools/helm_tk.sh $(HELM)
|
||||||
$(HELM) lint charts/shipyard
|
$(HELM) lint charts/shipyard
|
||||||
|
|
||||||
|
.PHONY: build_docs
|
||||||
|
build_docs:
|
||||||
|
tox -e docs
|
||||||
|
|
Loading…
Reference in New Issue