Browse Source

wrong determining of compiled state

Maxim Sokhatsky 10 years ago
parent
commit
38ebfe29da
2 changed files with 1 additions and 4 deletions
  1. BIN
      mad
  2. 1 4
      src/mad_compile.erl

BIN
mad


+ 1 - 4
src/mad_compile.erl

@@ -18,9 +18,6 @@ dep(Cwd, _Conf, ConfigFile, Name) ->
     DepPath = filename:join([Cwd, DepsDir, Name]),
     io:format("==> ~p~n\r",[Name]),
 
-    case filelib:wildcard(DepPath++"/ebin/"++list(Name)++".app") /= [] of
-         true -> skip; _ ->
-
     DepConfigFile = filename:join(DepPath, ConfigFile),
     Conf = mad_utils:consult(DepConfigFile),
     Conf1 = mad_script:script(DepConfigFile, Conf, Name),
@@ -52,7 +49,7 @@ dep(Cwd, _Conf, ConfigFile, Name) ->
 
             put(Name, compiled),
             ok
-    end end.
+    end.
 
 compile_fun(Inc,Bin,Opt) -> fun(File) -> (module(filetype(File))):compile(File,Inc,Bin,Opt) end.