-
Notifications
You must be signed in to change notification settings - Fork 33
Expand file tree
/
Copy pathMakefile
More file actions
34 lines (24 loc) · 797 Bytes
/
Makefile
File metadata and controls
34 lines (24 loc) · 797 Bytes
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
.PHONY: install
install:
pip install -r requirements.txt --quiet
pip install -e .
all: install test-fast style-fast
test: install
py.test --cov=mousestyles --pyargs mousestyles
style: install
py.test --pep8 --flakes --pyargs mousestyles
clean:
find . -name "*.so" -o -name "*.pyc" -o -name "*.pyx.md5" | xargs rm -f
find . -name "__pycache__" -o -name ".cache" | xargs rm -rf
rm -rf build dist mousestyles.egg-info
# warning: the following targets don't ensure that the package is up-to-date.
# only use these after running make install.
test-fast:
py.test --cov=mousestyles --pyargs mousestyles
style-fast:
py.test --pep8 --flakes --pyargs mousestyles
travis-test:
py.test --cov=mousestyles --pep8 --flakes --pyargs mousestyles
.PHONY: doc
doc:
cd doc/source && $(MAKE) html