-
Notifications
You must be signed in to change notification settings - Fork 5
/
Makefile
36 lines (24 loc) · 655 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
.PHONY: all pep8 pyflakes clean dev
GITIGNORES=$(shell cat .gitignore |tr "\\n" ",")
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 --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