mirror of
https://github.com/correl/rebar.git
synced 2024-11-23 19:19:54 +00:00
Remove trailing whitespace
This commit is contained in:
parent
4f41e742d3
commit
2911d48fb1
1 changed files with 3 additions and 3 deletions
|
@ -81,19 +81,19 @@ main(Args) ->
|
||||||
_ ->
|
_ ->
|
||||||
ok
|
ok
|
||||||
end,
|
end,
|
||||||
|
|
||||||
%% Add a helpful message
|
%% Add a helpful message
|
||||||
io:format("Congratulations! You now have a self-contained script called \"rebar\" in\n"
|
io:format("Congratulations! You now have a self-contained script called \"rebar\" in\n"
|
||||||
"your current working directory. Place this script anywhere in your path\n"
|
"your current working directory. Place this script anywhere in your path\n"
|
||||||
"and you can use rebar to build OTP-compliant apps.\n").
|
"and you can use rebar to build OTP-compliant apps.\n").
|
||||||
|
|
||||||
rm(Path) ->
|
rm(Path) ->
|
||||||
NativePath = filename:nativename(Path),
|
NativePath = filename:nativename(Path),
|
||||||
Cmd = case os:type() of
|
Cmd = case os:type() of
|
||||||
{unix,_} -> "rm -f ";
|
{unix,_} -> "rm -f ";
|
||||||
{win32,_} -> "del /q "
|
{win32,_} -> "del /q "
|
||||||
end,
|
end,
|
||||||
[] = os:cmd(Cmd ++ NativePath),
|
[] = os:cmd(Cmd ++ NativePath),
|
||||||
ok.
|
ok.
|
||||||
|
|
||||||
build_time() ->
|
build_time() ->
|
||||||
|
|
Loading…
Reference in a new issue