From afa6f485fdaf672c0f915f1a203c26320f4fdb85 Mon Sep 17 00:00:00 2001 From: Will Daly Date: Mon, 3 Jun 2013 13:26:01 -0400 Subject: [PATCH] Added diff-cover as a requirement (installed from github) --- rakefiles/tests.rake | 3 ++- requirements/edx/github.txt | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/rakefiles/tests.rake b/rakefiles/tests.rake index ee862d631d..7e6d12c40f 100644 --- a/rakefiles/tests.rake +++ b/rakefiles/tests.rake @@ -46,7 +46,8 @@ directory REPORT_DIR task :clean_test_files do - # Delete all non-folder files in the reports directory + # Delete all files in the reports directory, while preserving + # the directory structure. sh("find #{REPORT_DIR} -type f -print0 | xargs -0 rm") # Reset the test fixtures diff --git a/requirements/edx/github.txt b/requirements/edx/github.txt index b1aef0a108..bcf1b415d7 100644 --- a/requirements/edx/github.txt +++ b/requirements/edx/github.txt @@ -10,3 +10,4 @@ # Our libraries: -e git+https://github.com/edx/XBlock.git@2144a25d#egg=XBlock -e git+https://github.com/edx/codejail.git@5fb5fa0#egg=codejail +-e git+https://github.com/edx/diff-cover.git@v0.1#egg=diff_cover