1
0
mirror of https://github.com/spaam/svtplay-dl.git synced 2024-11-24 04:05:39 +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 all: svtplay-dl
.PHONY: test cover pylint
clean: clean:
rm -f svtplay-dl rm -f svtplay-dl
@ -18,5 +20,8 @@ svtplay-dl: lib/svtplay_dl/*py lib/svtplay_dl/fetcher/*py lib/svtplay_dl/service
test: test:
sh run-tests.sh sh run-tests.sh
cover:
sh run-tests.sh -C
pylint: pylint:
find lib -name '*.py' -a '!' -path '*/tests/*' | xargs pylint find lib -name '*.py' -a '!' -path '*/tests/*' | xargs pylint