Skip to content

Commit

Permalink
Add make TAGS to run ctags
Browse files Browse the repository at this point in the history
The TAGS name follows the GNU convention, as described in `info make`.
The resulting file is ignored by git.
  • Loading branch information
rbarrois committed Dec 23, 2020
1 parent 82d6144 commit 0eb3b3b
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,4 @@ build/
dist/
htmlcov/
MANIFEST
tags
11 changes: 11 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ SETUP_PY=setup.py
COVERAGE = python $(shell which coverage)
FLAKE8 = flake8
ISORT = isort
CTAGS = ctags


all: default
Expand Down Expand Up @@ -87,6 +88,16 @@ coverage:
.PHONY: test testall example-test lint coverage


# Development
# ===========

# DOC: Generate a "tags" file
TAGS:
$(CTAGS) --recurse $(PACKAGE) $(TESTS_DIR)

.PHONY: TAGS


# Documentation
# =============

Expand Down

0 comments on commit 0eb3b3b

Please sign in to comment.