1
0
mirror of https://github.com/spaam/svtplay-dl.git synced 2024-11-27 13:44:14 +01:00

Add cover target to Makefile

This commit is contained in:
Olof Johansson 2013-04-21 10:48:20 +02:00
parent 281d913a73
commit 79f9eb3dee

View File

@ -1,5 +1,7 @@
all: svtplay-dl
.PHONY: test cover pylint
clean:
rm -f svtplay-dl
@ -18,5 +20,8 @@ svtplay-dl: lib/svtplay_dl/*py lib/svtplay_dl/fetcher/*py lib/svtplay_dl/service
test:
sh run-tests.sh
cover:
sh run-tests.sh -C
pylint:
find lib -name '*.py' -a '!' -path '*/tests/*' | xargs pylint