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:
parent
281d913a73
commit
79f9eb3dee
5
Makefile
5
Makefile
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user