Parcourir la source

adding test rule in the Makefile

gcmalloc il y a 13 ans
Parent
commit
b387fb0385
1 fichiers modifiés avec 5 ajouts et 0 suppressions
  1. 5 0
      Makefile

+ 5 - 0
Makefile

@@ -45,3 +45,8 @@ youtube-dl.bash-completion: README.md
 
 LATEST_VERSION: youtube_dl/__init__.py
 	python -m youtube_dl --version > LATEST_VERSION
+
+test:
+	nosetests2 test/*
+
+.PHONY: default compile update update-latest update-readme test