mirror of
https://github.com/cheat/cheat.git
synced 2024-11-21 21:41:35 +01:00
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
|
||||
.PHONY: distclean
|
||||
distclean:
|
||||
$(RM) tags
|
||||
$(RM) -f tags
|
||||
|
||||
## setup: installs revive (linter) and scc (sloc tool)
|
||||
.PHONY: setup
|
||||
@ -110,7 +110,7 @@ sloc:
|
||||
## tags: builds a tags file
|
||||
.PHONY: tags
|
||||
tags:
|
||||
$(CTAGS) -R . --exclude=vendor
|
||||
$(CTAGS) -R --exclude=vendor --languages=go
|
||||
|
||||
## vendor: downloads, tidies, and verifies dependencies
|
||||
.PHONY: vendor
|
||||
|
Loading…
Reference in New Issue
Block a user