adding clean rule in the makefile
[youtube-dl] / Makefile
index f9c0aef0b479726a2aa639c8c4f4184ac0f0689e..f52dd1dd654fc160e85755e87d45c7639a6c2002 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -45,3 +45,11 @@ youtube-dl.bash-completion: README.md
 
 LATEST_VERSION: youtube_dl/__init__.py
        python -m youtube_dl --version > LATEST_VERSION
+
+test:
+       nosetests2 test/*
+
+clean:
+       $$(rm **/*.pyc)
+
+.PHONY: default compile update update-latest update-readme test clean