mirror of
https://github.com/spaam/svtplay-dl.git
synced 2024-11-27 21:54:17 +01:00
Add cover target to Makefile
This commit is contained in:
parent
281d913a73
commit
79f9eb3dee
5
Makefile
5
Makefile
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user