mirror of
https://github.com/davidallendj/magellan.git
synced 2025-12-19 19:17:02 -07:00
Added 'docs' rule to Makefile
This commit is contained in:
parent
f7b08da064
commit
bf2a27d6da
1 changed files with 6 additions and 0 deletions
6
Makefile
6
Makefile
|
|
@ -81,6 +81,12 @@ diff: ## git diff
|
|||
git diff --exit-code
|
||||
RES=$$(git status --porcelain) ; if [ -n "$$RES" ]; then echo $$RES && exit 1 ; fi
|
||||
|
||||
.PHONY: docs
|
||||
docs: ## go docs
|
||||
$(call print-target)
|
||||
go doc github.com/OpenCHAMI/magellan/cmd
|
||||
go doc github.com/OpenCHAMI/magellan/internal
|
||||
go doc github.com/OpenCHAMI/magellan/pkg/crawler
|
||||
|
||||
define print-target
|
||||
@printf "Executing target: \033[36m$@\033[0m\n"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue