forked from nithinmurali/pygsheets
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
33 lines (23 loc) · 633 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
TEST_PATH=tests
clean-pyc:
find . -name '*.pyc' -exec rm -f {} +
find . -name '*.pyo' -exec rm -f {} +
find . -name '*~' -exec rm -f {} +
find . -name '__pycache__' -exec rm -rf {} +
clean-build:
rm --force --recursive build/
rm --force --recursive dist/
rm --force --recursive *.egg-info
rm .coverage
clean: clean-pyc clean-build
doc:
cd docs;make pre;make html;cd ..
lint:
flake8 --filename = ./pygsheets/*.py
test: clean-pyc
py.test -vs --cov=pygsheets --cov-config .coveragerc ../pygsheets $(TEST_PATH)
install:
python setup.py install
publish: clean
python setup.py publish
.PHONY: clean-pyc clean-build