Permalink
Browse files

agnerized rebar should compile dependencies before an application is …

…compiled
  • Loading branch information...
1 parent 222fce5 commit a681d397e79c3b612288f92f430ba0380c2aba6d @yrashk yrashk committed Jun 10, 2011
Showing with 3 additions and 3 deletions.
  1. BIN rebar
  2. +3 −3 src/agner_rebar_plugin.erl
View
Binary file not shown.
@@ -2,11 +2,11 @@
-export(['check-deps'/2,
'get-deps'/2,
- compile/2]).
+ pre_compile/2]).
'check-deps'(Config, AppFile) ->
- compile(Config, AppFile).
+ pre_compile(Config, AppFile).
'get-deps'(Config, AppFile) ->
agner:start(),
@@ -15,7 +15,7 @@
{install, false},{build, false}]),
agner:stop().
-compile(Config, AppFile) ->
+pre_compile(Config, AppFile) ->
agner:start(),
set_indices(Config),
agner_main:handle_command(build,[{app, AppFile},{version, "@master"},{quiet, false},

0 comments on commit a681d39

Please sign in to comment.