-
Notifications
You must be signed in to change notification settings - Fork 28
/
Makefile
42 lines (30 loc) · 934 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
all: install
deps: FORCE
pip install --requirement requirements.txt
install: deps
python -m pip install . --ignore-installed --no-deps
dev-install: FORCE
python -m pip install . --ignore-installed --no-deps -vv
test: FORCE
py.test -m "not long and not huge"
ci-test: FORCE
py.test -m "not long and not huge and not requires_databases"
long-test: FORCE
py.test -m "not huge"
acceptance-huge: FORCE
py.test
publish: FORCE
python setup.py sdist upload
doc: FORCE
sphinx-apidoc -o doc/ dammit/ -f
cd doc; make clean html
gh-pages: doc
touch doc/_build/html/.nojekyll
git add doc/
git commit -m "Generated gh-pages for `git log master -1 --pretty=short --abbrev-commit`"
git subtree split --prefix doc/_build/html -b gh-pages
git push -f origin gh-pages:gh-pages
git branch -D gh-pages
clean: FORCE
rm -rf build/ *.pyc dammit/*.pyc dammit/*.egg-info dammit/*.so dammit/*.c *.egg-info
FORCE: