Skip to content

Commit

Permalink
update header_gen to work with latest rebar
Browse files Browse the repository at this point in the history
  • Loading branch information
Tim Watson committed Nov 9, 2012
1 parent c04b86d commit 2f65af1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion priv/build/plugins/header_generator.erl
Expand Up @@ -33,7 +33,7 @@
post_compile(_, AppFile) ->
case lists:suffix("hamcrest.app", AppFile) of
true ->
code:add_patha(filename:join(rebar_config:get_global(base_dir, []), "ebin")),
code:add_patha(filename:join(rebar_utils:get_cwd(), "ebin")),
Exports = [ F || F <- hamcrest_matchers:module_info(exports),
F /= module_info ],
rebar_log:log(debug, "Adding header exports/imports: ~p~n", [Exports]),
Expand Down

0 comments on commit 2f65af1

Please sign in to comment.