diff options
author | Tristan Sloughter <tristan.sloughter@gmail.com> | 2014-12-02 15:55:51 -0600 |
---|---|---|
committer | Tristan Sloughter <tristan.sloughter@gmail.com> | 2014-12-02 15:55:51 -0600 |
commit | 3b2d9ba8c81a41ae5cd554a3f50283e713e191c8 (patch) | |
tree | f5309346fc164fe3556e96db679b32bf5eca5a56 /src/rebar_cover_utils.erl | |
parent | 8d655d3c502295394ab30d9fc3fd11679629885d (diff) | |
parent | 3af351cec28521caaa15308b1a4a992380723794 (diff) |
Merge pull request #31 from tsloughter/profiles
Profiles
Diffstat (limited to 'src/rebar_cover_utils.erl')
-rw-r--r-- | src/rebar_cover_utils.erl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rebar_cover_utils.erl b/src/rebar_cover_utils.erl index 7de9d48..0439b8a 100644 --- a/src/rebar_cover_utils.erl +++ b/src/rebar_cover_utils.erl @@ -78,7 +78,7 @@ init(true, BeamFiles, TargetDir) -> group_leader(F, CoverPid), - ?INFO("Cover compiling ~s\n", [rebar_utils:get_cwd()]), + ?INFO("Cover compiling ~s\n", [rebar_dir:get_cwd()]), Compiled = [{Beam, cover:compile_beam(Beam)} || Beam <- BeamFiles], case [Module || {_, {ok, Module}} <- Compiled] of @@ -121,7 +121,7 @@ analyze(Config, FilteredModules, SrcModules, TargetDir) -> [html]) end, Coverage), - Index = filename:join([rebar_utils:get_cwd(), TargetDir, "index.html"]), + Index = filename:join([rebar_dir:get_cwd(), TargetDir, "index.html"]), ?CONSOLE("Cover analysis: ~s\n", [Index]), %% Export coverage data, if configured |