浏览代码

adding test rule in the Makefile

gcmalloc 13 年之前
父节点
当前提交
b387fb0385
共有 1 个文件被更改,包括 5 次插入0 次删除
  1. 5 0
      Makefile

+ 5 - 0
Makefile

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