diff options
author | Magnus Ahltorp <map@kth.se> | 2015-03-31 19:18:30 +0200 |
---|---|---|
committer | Magnus Ahltorp <map@kth.se> | 2015-03-31 19:18:30 +0200 |
commit | ab924f51f254d1bdd6f752f8c19c4cbcc55cf0e4 (patch) | |
tree | 91261dcf3047c735207d706862bd9136f003230a /make.erl | |
parent | a706e79fa722f681320fe1b05824352b6b9a63fc (diff) | |
parent | 13c3789add4f1630c4bc8dfccb229ebc7d4bfa38 (diff) |
Merge branch 'genauthkeys'
Diffstat (limited to 'make.erl')
-rwxr-xr-x | make.erl | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/make.erl b/make.erl new file mode 100755 index 0000000..4ebdf74 --- /dev/null +++ b/make.erl @@ -0,0 +1,18 @@ +#!/usr/bin/env escript +%% -*- erlang -*- + +main(_) -> + LagerPath = "../lager/ebin", + case code:add_path(LagerPath) of + true -> + ok; + {error, bad_directory} -> + io:format("Could not add path ~p~n", [LagerPath]), + halt(1) + end, + case make:all() of + up_to_date -> + ok; + error -> + halt(1) + end. |