summaryrefslogtreecommitdiff
path: root/src/rebar_eunit.erl
diff options
context:
space:
mode:
authorBryan Fink <bryan@basho.com>2009-12-21 12:48:36 -0500
committerBryan Fink <bryan@basho.com>2009-12-21 12:48:36 -0500
commitbadcc228bde003182fcfe32b6c5d47928c8ccbcf (patch)
tree92e025fa88b129296ef41b2e869a3dd8439afbf6 /src/rebar_eunit.erl
parent1fa659b5b340fdc7926e657c608b4454efa16ee5 (diff)
add hrl-triggered recompiling to 'eunit' build as well
Diffstat (limited to 'src/rebar_eunit.erl')
-rw-r--r--src/rebar_eunit.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rebar_eunit.erl b/src/rebar_eunit.erl
index 574054b..b375424 100644
--- a/src/rebar_eunit.erl
+++ b/src/rebar_eunit.erl
@@ -51,7 +51,7 @@ eunit(Config, _File) ->
%% Compile all erlang from src/ into ?EUNIT_DIR
rebar_erlc_compiler:do_compile(Config, "src/*.erl", ?EUNIT_DIR, ".erl", ".beam",
- undefined, fun compile_erl/2,
+ fun rebar_erlc_compiler:list_hrls/2, fun compile_erl/2,
rebar_config:get_list(Config, erl_first_files, [])),
%% Build a list of all the .beams in ?EUNIT_DIR -- use this for cover