Skip to content

Commit

Permalink
helpers to use tags with vim / emacs
Browse files Browse the repository at this point in the history
  • Loading branch information
ogrisel committed Oct 31, 2010
1 parent decbabe commit 22a8ecb
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,4 @@ doc/modules/generated/
pip-log.txt
scikits.learn.egg-info/
.coverage
tags
14 changes: 12 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

PYTHON ?= python
NOSETESTS ?= nosetests
CTAGS ?= ctags

all: clean inplace test

Expand All @@ -17,7 +18,10 @@ clean-so:
clean-build:
rm -rf build

clean: clean-build clean-pyc clean-so
clean-ctags:
rm -f tags

clean: clean-build clean-pyc clean-so clean-ctags

in: inplace # just a shortcut
inplace:
Expand All @@ -29,4 +33,10 @@ test-doc:
$(NOSETESTS) --with-doctest --doctest-tests --doctest-extension=rst doc/ doc/modules/

test-coverage:
$(NOSETESTS) --with-coverage
$(NOSETESTS) --with-coverage


ctags:
# make tags for symbol based navigation in emacs and vim
# Install with: sudo apt-get install exuberant-ctags
$(CTAGS) -R *

0 comments on commit 22a8ecb

Please sign in to comment.