Browse Source

active 1.9

Namdak Tonpa 9 years ago
parent
commit
260408de35
4 changed files with 2 additions and 3 deletions
  1. 1 1
      include/mad.hrl
  2. BIN
      mad
  3. 0 1
      src/mad.erl
  4. 1 1
      src/mad_utils.erl

+ 1 - 1
include/mad.hrl

@@ -1 +1 @@
--define(VERSION,"a5cd10").
+-define(VERSION,"709a00").

BIN
mad


+ 0 - 1
src/mad.erl

@@ -7,7 +7,6 @@
 main([])          -> help();
 main([])          -> help();
 main(Params)      ->
 main(Params)      ->
     {Other,F}      = mad_utils:fold_params(Params),
     {Other,F}      = mad_utils:fold_params(Params),
-    io:format("Params: ~p~n",[{Other,F}]),
     unknown(Other),
     unknown(Other),
     return(lists:any(fun(X) -> element(1,X) == error end,
     return(lists:any(fun(X) -> element(1,X) == error end,
            lists:flatten(
            lists:flatten(

+ 1 - 1
src/mad_utils.erl

@@ -108,7 +108,7 @@ verbose(Config,Message) ->
 compile(_,_,_,_,_) -> false.
 compile(_,_,_,_,_) -> false.
 
 
 configs() ->
 configs() ->
-    Cwd            = mad_utils:cwd(),
+    Cwd            = fs:path(),
     ConfigFile     = "rebar.config",
     ConfigFile     = "rebar.config",
     ConfigFileAbs  = filename:join(Cwd, ConfigFile),
     ConfigFileAbs  = filename:join(Cwd, ConfigFile),
     Conf           = mad_utils:consult(ConfigFileAbs),
     Conf           = mad_utils:consult(ConfigFileAbs),