Skip to content

Commit b4dadb9

Browse files
authored
Merge pull request #20 from weiss/fix/rebar2-tests
Fix EUnit test execution for Rebar 2
2 parents b0e0928 + ac1131e commit b4dadb9

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

rebar.config.script

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,9 @@ Rules = [
120120
"https://github.com/processone/coveralls-erl.git",
121121
{branch, "addjsonfile"}}} ]), []},
122122
{[deps], os:getenv("USE_GLOBAL_DEPS") /= false,
123-
GlobalDepsFilter, []}
123+
GlobalDepsFilter, []},
124+
{[pre_hooks], not IsRebar3,
125+
AppendList([{eunit, "mkdir -p .eunit && cp ebin/p1_utils.app .eunit/"}]), []}
124126
],
125127

126128

0 commit comments

Comments
 (0)