#!/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.