forked from chassing/gitflow
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
46 lines (33 loc) · 838 Bytes
/
Makefile
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
#
# This file is part of `gitflow`.
# Copyright (c) 2010-2011 Vincent Driessen
# Copyright (c) 2012-2013 Hartmut Goebel
# Distributed under a BSD-like license. For full terms see the file LICENSE.txt
#
all: cover
doc:
make -C docs html man
clean-docs:
make -C docs clean
clean-files:
find . -name '*.py[co]' -exec rm {} \;
rm -rf *.egg *.egg-info
rm nosetests.xml *.egg-lnk pip-log.txt
clean: clean-docs clean-files
clean-all: clean-tox clean
rm -rf build dist .coverage
clean-tox:
rm -rf .tox
xunit-test:
nosetests --with-xunit
test:
nosetests --with-spec --spec-color
test-dist:
PIP_DOWNLOAD_CACHE=~/Projects/pkgrepo/pkgs
tox
cover:
nosetests --with-coverage3 --cover-package=gitflow --with-spec --spec-color
dump-requirements:
pip freeze -l > .requirements
install-requirements:
pip install -r .requirements