summaryrefslogtreecommitdiff
path: root/bootstrap
diff options
context:
space:
mode:
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"},