@@ -1 +1 @@
--define(VERSION,"da6e25").
+-define(VERSION,"95b93f").
@@ -1,4 +1,4 @@
@echo off
setlocal
-set rebarscript=%~f0
-escript.exe "%rebarscript:.cmd=%" %*
+set madscript=%~f0
+escript.exe "%madscript:.cmd=%" %*
@@ -15,8 +15,9 @@ compile(File,Inc,Bin,Opt,Deps) ->
Compiled = mad_compile:is_compiled(BeamFile, File),
if Compiled =:= false ->
Opts1 = ?COMPILE_OPTS(Inc, Bin, Opt, Deps),
+% VERBOSE
+% mad:info("Compiling ~s~n", [File -- mad_utils:cwd()]),
NewCompile = compile:file(File, filter(Opts1)),
- mad:info("Compiled ~s~n", [File -- mad_utils:cwd()]),
ret(NewCompile);
true -> false end.
@@ -70,6 +70,7 @@ fetch_dep(Cwd, Config, ConfigFile, Name, Cmd, Uri, Co, Cache, Deep) ->
{_,Rev} -> git_clone(Uri,Fast,TrunkPath,Rev);
Master -> git_clone(Uri,Fast,TrunkPath,Master) end,
% mad:info("Fetch: ~s~n",[R]),
FetchStatus = case filelib:is_dir(TrunkPath) of