mirror of
https://github.com/correl/rebar.git
synced 2024-12-18 03:00:17 +00:00
rebar_reltool: remove blank lines
This commit is contained in:
parent
18dbcd61b6
commit
3cc8fb2855
1 changed files with 0 additions and 5 deletions
|
@ -156,8 +156,6 @@ load_vars_file(File) ->
|
||||||
?ABORT("Unable to load overlay_vars from ~p: ~p\n", [File, Reason])
|
?ABORT("Unable to load overlay_vars from ~p: ~p\n", [File, Reason])
|
||||||
end.
|
end.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
validate_rel_apps(ReltoolServer, {sys, ReltoolConfig}) ->
|
validate_rel_apps(ReltoolServer, {sys, ReltoolConfig}) ->
|
||||||
case lists:keyfind(rel, 1, ReltoolConfig) of
|
case lists:keyfind(rel, 1, ReltoolConfig) of
|
||||||
false ->
|
false ->
|
||||||
|
@ -190,7 +188,6 @@ app_exists(App, Server) when is_atom(App) ->
|
||||||
app_exists(AppTuple, Server) when is_tuple(AppTuple) ->
|
app_exists(AppTuple, Server) when is_tuple(AppTuple) ->
|
||||||
app_exists(element(1, AppTuple), Server).
|
app_exists(element(1, AppTuple), Server).
|
||||||
|
|
||||||
|
|
||||||
run_reltool(Server, Config, ReltoolConfig) ->
|
run_reltool(Server, Config, ReltoolConfig) ->
|
||||||
case reltool:get_target_spec(Server) of
|
case reltool:get_target_spec(Server) of
|
||||||
{ok, Spec} ->
|
{ok, Spec} ->
|
||||||
|
@ -224,7 +221,6 @@ run_reltool(Server, Config, ReltoolConfig) ->
|
||||||
?ABORT("Unable to generate spec: ~s\n", [Reason])
|
?ABORT("Unable to generate spec: ~s\n", [Reason])
|
||||||
end.
|
end.
|
||||||
|
|
||||||
|
|
||||||
mk_target_dir(Config, TargetDir) ->
|
mk_target_dir(Config, TargetDir) ->
|
||||||
case filelib:ensure_dir(filename:join(TargetDir, "dummy")) of
|
case filelib:ensure_dir(filename:join(TargetDir, "dummy")) of
|
||||||
ok ->
|
ok ->
|
||||||
|
@ -246,7 +242,6 @@ mk_target_dir(Config, TargetDir) ->
|
||||||
?FAIL
|
?FAIL
|
||||||
end.
|
end.
|
||||||
|
|
||||||
|
|
||||||
dump_spec(Config, Spec) ->
|
dump_spec(Config, Spec) ->
|
||||||
case rebar_config:get_global(Config, dump_spec, "0") of
|
case rebar_config:get_global(Config, dump_spec, "0") of
|
||||||
"1" ->
|
"1" ->
|
||||||
|
|
Loading…
Reference in a new issue