From 998f718354ecc5e90eb40b37ad482cbc824dbfeb Mon Sep 17 00:00:00 2001 From: William Petit Date: Wed, 19 Sep 2018 17:23:28 +0200 Subject: [PATCH] Add doc command to Makefile --- Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 8660d7b..4ba546a 100644 --- a/Makefile +++ b/Makefile @@ -31,4 +31,8 @@ clean: rm -rf ./bin go clean -i -x -r -modcache -.PHONY: test clean generate vendor install-devtools lint watch tidy \ No newline at end of file +doc: + @echo "Open your browser to http://localhost:6060/pkg/forge.cadoles.com/Pyxis/orion/ to see the documentation" + @godoc -http=:6060 + +.PHONY: test clean generate vendor install-devtools lint watch tidy doc \ No newline at end of file