Use itself for documentation generation.
This commit is contained in:
5
Makefile
5
Makefile
@ -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)
|
||||||
|
Reference in New Issue
Block a user