adding test rule in the Makefile
[youtube-dl] / Makefile
index f9c0aef0b479726a2aa639c8c4f4184ac0f0689e..c73d0ac658180a13a1ae52b7e18ecf2c0a2e9f25 100644 (file)
--- a/Makefile
+++ b/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