summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Smith <dizzyd@dizzyd.com>2012-11-23 07:17:48 -0800
committerDave Smith <dizzyd@dizzyd.com>2012-11-23 07:17:48 -0800
commit7325784fb0440bba6b8cfe07a864962795e7bf0b (patch)
tree283b0ea005622cd10494422908b006629cb70b08
parent92fb083011f5b834d6c01a5479c348582c908a4f (diff)
parent7d624e901847d1c850a05e8476a115adf835e9f2 (diff)
Merge pull request #27 from norton/norton-qc-clean
Add missing clean/2
-rw-r--r--src/rebar_qc.erl5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/rebar_qc.erl b/src/rebar_qc.erl
index 5784f7d..09e48e4 100644
--- a/src/rebar_qc.erl
+++ b/src/rebar_qc.erl
@@ -26,7 +26,7 @@
%% -------------------------------------------------------------------
-module(rebar_qc).
--export([qc/2, triq/2, eqc/2]).
+-export([qc/2, triq/2, eqc/2, clean/2]).
-include("rebar.hrl").
@@ -50,6 +50,9 @@ eqc(Config, _AppFile) ->
ok = load_qc_mod(eqc),
run_qc(Config, qc_opts(Config), eqc).
+clean(_Config, _File) ->
+ rebar_file_utils:rm_rf(?QC_DIR).
+
%% ===================================================================
%% Internal functions
%% ===================================================================