add makefile rule for generating docs

pull/7385/head
Priya Wadhwa 2020-04-01 16:15:27 -07:00
parent c409c4c91c
commit 9405163530
1 changed files with 7 additions and 3 deletions

View File

@ -270,9 +270,13 @@ integration-versioned: out/minikube ## Trigger minikube integration testing
test: pkg/minikube/assets/assets.go pkg/minikube/translate/translations.go ## Trigger minikube test
./test.sh
.PHONY: gotest
gotest: $(SOURCE_GENERATED) ## Trigger minikube test
go test -tags "$(MINIKUBE_BUILD_TAGS)" $(MINIKUBE_TEST_FILES)
.PHONY: generate-docs
generate-docs: out/minikube
out/minikube generate-docs --path ./site/content/en/docs/Reference/Commands/
.PHONY: extract
extract: ## Compile extract tool
go run cmd/extract/extract.go
.PHONY: extract
extract: ## Compile extract tool