summaryrefslogtreecommitdiff
path: root/bootstrap
diff options
context:
space:
mode:
authorAlexey Romanov <alexey.v.romanov@gmail.com>2011-02-21 12:41:20 +0300
committerAlexey Romanov <alexey.v.romanov@gmail.com>2011-02-21 12:41:20 +0300
commit7dc371d8a3b9a6e2ab9f814c0d2536cf638ceb99 (patch)
tree174193ae08d2824164ba99e63f696a6593ee63c6 /bootstrap
parent2ceeb3272139b7569c8dabc215ca1e7063b0d385 (diff)
parent6056c63eed288736c912c82d6f36aa7dd055f9ca (diff)
Merge branch 'master' of https://github.com/basho/rebar
Diffstat (limited to 'bootstrap')
-rwxr-xr-xbootstrap12
1 files changed, 5 insertions, 7 deletions
diff --git a/bootstrap b/bootstrap
index 5be3183..f779fb3 100755
--- a/bootstrap
+++ b/bootstrap
@@ -1,5 +1,5 @@
#!/usr/bin/env escript
-%% -*- mode:erlang;tab-width:4;erlang-indent-level:4;indent-tabs-mode:nil -*-
+%% -*- mode: erlang;erlang-indent-level: 4;indent-tabs-mode: nil -*-
%% ex: ft=erlang ts=4 sw=4 et
main(Args) ->
@@ -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"},