summaryrefslogtreecommitdiff
path: root/src/rebar_qc.erl
diff options
context:
space:
mode:
Diffstat (limited to 'src/rebar_qc.erl')
-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
%% ===================================================================