|
X -> compile_port(Dir,X,Config) end.
|
|
X -> compile_port(Dir,X,Config) end.
|
|
compile_port(Dir,Specs,Config) ->
|
|
compile_port(Dir,Specs,Config) ->
|
|
filelib:ensure_dir(Dir ++ "/priv/"),
|
|
filelib:ensure_dir(Dir ++ "/priv/"),
|
|
Env = [ {Var,Val} || {Sys,Var,Val} <- mad_utils:get_value(port_env, Config, []), Sys == System ],
|
|
Env = [ {Var,Val} || {Sys,Var,Val} <- mad_utils:get_value(port_env, Config, []), Sys == System ],
|