Use itself for documentation generation.

This commit is contained in:
Diego Fernando Carrión
2019-07-16 13:08:49 +02:00
parent d3f916aac7
commit edb048a3ed

View File

@ -38,9 +38,8 @@ $(BIN)/golint: | $(BASE)
cd $(BASE) && $(GO) get golang.org/x/lint/golint cd $(BASE) && $(GO) get golang.org/x/lint/golint
.PHONY: docs .PHONY: docs
docs: docs: | $(BASE)
build_scripts/generate_godocs.py cd $(BASE) && bin/$(PACKAGE) -v -symlinks -exclude vendor,.gopath
tar czf docs.tar.gz -C godocs .
.PHONY: vet .PHONY: vet
vet: | $(BASE) vet: | $(BASE)