mirror of https://github.com/cheat/cheat.git
chore: Makefile
Makes some adjustments to the behaviors of `make tags` and `make distclean`.
This commit is contained in:
parent
9e88ff2642
commit
3fc4c2f89e
4
Makefile
4
Makefile
|
@ -95,7 +95,7 @@ clean: $(dist_dir)
|
||||||
## distclean: removes the tags file
|
## distclean: removes the tags file
|
||||||
.PHONY: distclean
|
.PHONY: distclean
|
||||||
distclean:
|
distclean:
|
||||||
$(RM) tags
|
$(RM) -f tags
|
||||||
|
|
||||||
## setup: installs revive (linter) and scc (sloc tool)
|
## setup: installs revive (linter) and scc (sloc tool)
|
||||||
.PHONY: setup
|
.PHONY: setup
|
||||||
|
@ -110,7 +110,7 @@ sloc:
|
||||||
## tags: builds a tags file
|
## tags: builds a tags file
|
||||||
.PHONY: tags
|
.PHONY: tags
|
||||||
tags:
|
tags:
|
||||||
$(CTAGS) -R . --exclude=vendor
|
$(CTAGS) -R --exclude=vendor --languages=go
|
||||||
|
|
||||||
## vendor: downloads, tidies, and verifies dependencies
|
## vendor: downloads, tidies, and verifies dependencies
|
||||||
.PHONY: vendor
|
.PHONY: vendor
|
||||||
|
|
Loading…
Reference in New Issue