summaryrefslogtreecommitdiff
path: root/Makefile
blob: 321562396422ffd0eb66830166d9e6454f69b63e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
PYTHONPATH:=$(shell pwd)/lib:${PYTHONPATH}
PYTHON ?= python

all:

# it would be nice to use doctest directly to run the README, but that's 
# only supported from python2.6 onwards, so we need a script
check:
	PYTHONPATH=$(PYTHONPATH):.:./lib $(PYTHON) run_doctest.py README
	PYTHONPATH=$(PYTHONPATH) $(PYTHON) ./test_all.py $(TESTRULE)

clean:
	find . -name '*.pyc' -print0 | xargs -0 rm -f

TAGS: lib/testscenarios/*.py lib/testscenarios/tests/*.py
	ctags -e -R lib/testscenarios/

tags: lib/testscenarios/*.py lib/testscenarios/tests/*.py
	ctags -R lib/testscenarios/

.PHONY: all check clean