mirror of
https://github.com/correl/rebar.git
synced 2024-11-23 11:09:55 +00:00
Fix code clarity in bootstrap
This commit is contained in:
parent
ebcae06928
commit
27019e2867
1 changed files with 4 additions and 6 deletions
10
bootstrap
10
bootstrap
|
@ -19,12 +19,10 @@ main(Args) ->
|
|||
end,
|
||||
|
||||
%% Add check for debug flag
|
||||
case lists:member("debug", Args) of
|
||||
true ->
|
||||
DebugFlag = debug_info;
|
||||
false ->
|
||||
DebugFlag = undefined
|
||||
end,
|
||||
DebugFlag = case lists:member("debug", Args) of
|
||||
true -> debug_info;
|
||||
false -> undefined
|
||||
end,
|
||||
|
||||
%% Compile all src/*.erl to ebin
|
||||
case make:files(filelib:wildcard("src/*.erl"), [{outdir, "ebin"}, {i, "include"},
|
||||
|
|
Loading…
Reference in a new issue