Browse Source

supress verbose

Namdak Tonpa 6 years ago
parent
commit
ff187398f0
3 changed files with 3 additions and 2 deletions
  1. 1 1
      include/mad.hrl
  2. BIN
      mad
  3. 2 1
      src/compile/mad_app.erl

+ 1 - 1
include/mad.hrl

@@ -1 +1 @@
--define(VERSION,"95b93f").
+-define(VERSION,"0db140").

BIN
mad


+ 2 - 1
src/compile/mad_app.erl

@@ -16,7 +16,8 @@ compile(File,_Inc,Bin,_Opt,_Deps) ->
     Compiled = mad_compile:is_compiled(AppFile, File),
     case Compiled of
         false ->
-           mad:info("Writing ~s~n", [AppFile -- mad_utils:cwd()]),
+% VERBOSE
+%          mad:info("Writing ~s~n", [AppFile -- mad_utils:cwd()]),
            BeamFiles = filelib:wildcard("*.beam", Bin),
            Modules = [list_to_atom(filename:basename(X, ".beam")) || X <- BeamFiles],
            case mad_utils:consult(File) of