From 49aef70f9b5a778d9430c4167ea469b1ebb8f71d Mon Sep 17 00:00:00 2001 From: OJ Reeves Date: Sat, 9 Jan 2010 22:19:55 +1000 Subject: [PATCH] [mq]: eunit-fix --- src/rebar_eunit.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rebar_eunit.erl b/src/rebar_eunit.erl index 1a3a45f..6ef7a25 100644 --- a/src/rebar_eunit.erl +++ b/src/rebar_eunit.erl @@ -63,7 +63,7 @@ eunit(Config, _File) -> %% %% TODO: Not currently compatible with package modules Modules = [list_to_atom(filename:basename(N, ".beam")) || - N <- filelib:wildcard("*.beam", "ebin")], + N <- filelib:wildcard("*.beam", ?EUNIT_DIR)], %% TODO: If there are other wildcards specified in eunit_sources, compile them