From 7d624e901847d1c850a05e8476a115adf835e9f2 Mon Sep 17 00:00:00 2001 From: Joseph Wayne Norton Date: Fri, 23 Nov 2012 21:26:48 +0900 Subject: Add missing rebar_qc:clean/2 --- src/rebar_qc.erl | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 %% =================================================================== -- cgit v1.1