Add docs target to Makefile

Also adds the successful build of docs to the linting
target

Change-Id: I1771125b1208819806c47aabed62a8f994a771ab
This commit is contained in:
Bryan Strassner 2017-12-04 15:17:14 -06:00
parent 2af8f143bd
commit 22e065bdd6
1 changed files with 8 additions and 1 deletions

View File

@ -30,7 +30,7 @@ charts: clean
# Perform Linting
.PHONY: lint
lint: pep8 helm_lint
lint: pep8 helm_lint build_docs
# Dry run templating of chart
.PHONY: dry-run
@ -38,6 +38,9 @@ dry-run: clean
tools/helm_tk.sh $(HELM)
$(HELM) template charts/shipyard
.PHONY: docs
docs: clean build_docs
# Make targets intended for use by the primary targets above.
.PHONY: build_airflow
@ -60,3 +63,7 @@ pep8:
helm_lint: clean
tools/helm_tk.sh $(HELM)
$(HELM) lint charts/shipyard
.PHONY: build_docs
build_docs:
tox -e docs