From 79f9eb3deeef633fe827d2c755dd80286912d433 Mon Sep 17 00:00:00 2001 From: Olof Johansson Date: Sun, 21 Apr 2013 10:48:20 +0200 Subject: [PATCH] Add cover target to Makefile --- Makefile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Makefile b/Makefile index adbb611..82a99cd 100644 --- a/Makefile +++ b/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