@@ -1 +1 @@
--define(VERSION,"a4074f").
+-define(VERSION,"484403").
@@ -71,5 +71,5 @@ help() -> info("MAD Manage Dependencies ~s~n",[?VERSION]),
info(" params = [] | command [options] params ~n"),
info(" command = app [web|mqtt] <name> | deps | clean | compile | strip~n"),
info(" | bundle [beam|script] <name> | get <repo> | up [name] ~n"),
- info(" | start | stop | attach | repl | static [watch|min] ~n"),
+ info(" | start | stop | attach | repl | static <min> ~n"),
return(false).
@@ -12,7 +12,8 @@ main(_Config, ["min"]) ->
{_,0,_} -> {ok,static};
{_,_,_} -> mad:info("minifyjs not installed. try `npm install -g uglify`~n"),
{error,"Minifier."}
- end.
+ end;
+main(_, _) -> {error,"Arguments needed."}.
replace(S,A,B) -> re:replace(S,A,B,[global,{return,list}]).