Skip to content

Commit

Permalink
additional comments on rebar2/3
Browse files Browse the repository at this point in the history
  • Loading branch information
joedevivo committed Jul 27, 2015
1 parent 085eb59 commit 4a928c9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions rebar.config
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,14 @@

{port_specs, [{"priv/bcrypt_nif.so", ["c_src/*.c"]}]}.

%% These post_hooks are for rebar2. rebar.config.script removes them if
%% rebar3 is detected
{post_hooks,
[{clean, "make -C c_src clean"},
{compile, "make -C c_src"}]}.

%% plugins and provider_hooks are for rebar3. rebar.config.script removes them
%% if rebar2 is detected
{plugins, [pc]}.
{provider_hooks, [
{pre, [
Expand Down

0 comments on commit 4a928c9

Please sign in to comment.