-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathMakefile
More file actions
38 lines (25 loc) · 683 Bytes
/
Makefile
File metadata and controls
38 lines (25 loc) · 683 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
35
36
37
38
.PHONY: all pep8 pyflakes clean dev
GITIGNORES=$(shell cat .gitignore |tr "\\n" ",")
PYTHON=python
all: pep8
pep8: .gitignore env
@bin/virtual-env-exec pep8 . --exclude=$(GITIGNORES)
pyflakes: env
@bin/virtual-env-exec pyflakes bootstrap tests
pylint: env
@bin/virtual-env-exec pylint bootstrap 2>&1 |less
dev: env env/.pip
env:
@virtualenv -p $(PYTHON) --distribute env
env/.pip: env cfg/requirements.txt
@bin/virtual-env-exec pip install -r cfg/requirements.txt
@bin/virtual-env-exec pip install -e .
@touch env/.pip
test: env/.pip
@bin/virtual-env-exec testify tests
shell:
@bin/virtual-env-exec ipython
devclean:
@rm -rf env
clean:
@rm -rf build dist env