mirror of
https://github.com/correl/rebar.git
synced 2024-12-18 03:00:17 +00:00
Use eunit_dir() instead of ?EUNIT_DIR since the function exists.
The eunit_dir() does use the ?EUNIT_DIR macro internally, but it also builds, what I guess is, an absolute path, which might be better :) At least it's more consistent.
This commit is contained in:
parent
8c03d5959b
commit
8ea62597ff
1 changed files with 1 additions and 1 deletions
|
@ -75,7 +75,7 @@ eunit(Config, AppFile) ->
|
|||
end,
|
||||
|
||||
%% Make sure ?EUNIT_DIR/ and ebin/ directory exists (tack on dummy module)
|
||||
ok = filelib:ensure_dir(?EUNIT_DIR ++ "/foo"),
|
||||
ok = filelib:ensure_dir(eunit_dir() ++ "/foo"),
|
||||
ok = filelib:ensure_dir(ebin_dir() ++ "/foo"),
|
||||
|
||||
%% Setup code path prior to compilation so that parse_transforms and the like
|
||||
|
|
Loading…
Reference in a new issue