forked from hudora/django-googleappsauth
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Makefile
29 lines (20 loc) · 732 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
PATH := ./testenv/bin:$(PATH)
default: dependencies check test statistics
check:
find googleappsauth -name '*.py' | xargs /usr/local/hudorakit/bin/hd_pep8
/usr/local/hudorakit/bin/hd_pylint -f parseable googleappsauth | tee .pylint.out
install: build
sudo python setup.py install
dependencies:
virtualenv testenv
pip -q install -E testenv -r requirements.txt
statistics:
sloccount --wide --details googleappsauth | grep -E '^[0-9]' > .sloccount.sc
build:
python setup.py build sdist bdist_egg
upload: build
python setup.py sdist upload
clean:
rm -Rf testenv build dist html test.db .pylint.out .sloccount.sc pip-log.txt
find . -name '*.pyc' -or -name '*.pyo' -delete
.PHONY: test build clean install upload check