summaryrefslogtreecommitdiff
path: root/src/rebar_prv_compile.erl
diff options
context:
space:
mode:
Diffstat (limited to 'src/rebar_prv_compile.erl')
-rw-r--r--src/rebar_prv_compile.erl11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/rebar_prv_compile.erl b/src/rebar_prv_compile.erl
index 5787bd3..b53742d 100644
--- a/src/rebar_prv_compile.erl
+++ b/src/rebar_prv_compile.erl
@@ -4,8 +4,9 @@
-export([init/1,
do/1,
- format_error/2,
- build/2]).
+ format_error/1]).
+
+-export([build/2]).
-include("rebar.hrl").
@@ -59,9 +60,9 @@ do(State) ->
{ok, State1}.
--spec format_error(any(), rebar_state:t()) -> {iolist(), rebar_state:t()}.
-format_error(Reason, State) ->
- {io_lib:format("~p", [Reason]), State}.
+-spec format_error(any()) -> iolist().
+format_error(Reason) ->
+ io_lib:format("~p", [Reason]).
build_apps(State, Apps) ->
lists:foreach(fun(AppInfo) ->