forked from maxcountryman/simpleirc
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
26 lines (20 loc) · 670 Bytes
/
Makefile
File metadata and controls
26 lines (20 loc) · 670 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
.PHONY: all test clean_coverage clean pep8 pyflakes check
all:
@echo 'test run the unit tests'
@echo 'coverage generate coverage statistics'
@echo 'pep8 check pep8 compliance'
@echo 'pyflakes check for unused imports (requires pyflakes)'
@echo 'check make sure you are ready to commit'
@echo 'clean cleanup the source tree'
test: clean_coverage
@echo 'Running all tests...'
@VERBOSE=1 PATH=${PATH} ./run-tests.sh
clean_coverage:
@rm -f .coverage
pep8:
@echo 'Checking pep8 compliance...'
@pep8 simpleirc tests
pyflakes:
@echo 'Running pyflakes...'
@pyflakes simpleirc tests
check: pep8 pyflakes test