summaryrefslogtreecommitdiff
path: root/Makefile
blob: c6c159bdcac62b9292fce9613e9c15fbba690947 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
PYTHON = python
SETUP = $(PYTHON) setup.py
TESTRUNNER = $(shell which nosetests)
TESTFLAGS =

all: build

doc:: 
	make -C doc/ html

build::
	$(SETUP) build
	$(SETUP) build_ext -i

build_ext::
	$(SETUP) build_ext -i
	
install::
	$(SETUP) install

clean::
	$(SETUP) clean --all
	rm -f *.so

coverage:: build
	PYTHONPATH=. $(PYTHON) $(TESTRUNNER) --cover-package=gitdb --with-coverage --cover-erase --cover-inclusive gitdb