Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Hack: skip reltool.config to not abort on it;

  • Loading branch information...
commit a5db0149a235a70bd9a4dbf43458fe1e9a9d7cda 1 parent c288254
Tomas Morstein authored
Showing with 11 additions and 1 deletion.
  1. +11 −1 src/rebar_vsn_plugin.erl
View
12 src/rebar_vsn_plugin.erl
@@ -119,7 +119,17 @@ get_app_meta(Config, EbinAppFile) ->
case file:consult(EbinAppFile) of
{ok, [{application, AppName, Details}]} ->
{AppName, Details};
+ {ok, NonApp} ->
+ case proplists:is_defined (sys, NonApp) of

no space between the fun and its parens.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
+ true ->
+ rebar_log:log(warn, "Skipping release config: ~s~n", [EbinAppFile]);
+ _ ->
+ rebar_log:log(warn, "Skipping unknown config: ~s~n", [EbinAppFile])
+ end,
+ {'#release', []};
_ ->
- rebar_utils:abort("Unable to read app file ~s~n", [EbinAppFile])
+ rebar_log:log(warn, "Unable to read app file: ~s~n", [EbinAppFile]),
+ {'#unknown', []}
+ %rebar_utils:abort("Unable to read app file ~s~n", [EbinAppFile])

please don't comment out code. just delete it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
end
end.
Please sign in to comment.
Something went wrong with that request. Please try again.