Browse Source

update mad binary for 22.0 erlang

Namdak Tonpa 5 years ago
parent
commit
e6e7c8602a
3 changed files with 4 additions and 1 deletions
  1. 1 1
      include/mad.hrl
  2. BIN
      mad
  3. 3 0
      src/compile/mad_compile.erl

+ 1 - 1
include/mad.hrl

@@ -1 +1 @@
--define(VERSION,"6.8.0-21-g277887c").
+-define(VERSION,"6.8.0-33-gc24b185").

BIN
mad


+ 3 - 0
src/compile/mad_compile.erl

@@ -7,11 +7,14 @@ compile(App,_Path) -> compile(App).
 compile(Params) ->
 compile(Params) ->
     SysConfig = try {ok,[S]} = file:consult("sys.config"), S catch _:_ -> [] end,
     SysConfig = try {ok,[S]} = file:consult("sys.config"), S catch _:_ -> [] end,
     BERT = proplists:get_value(bert,SysConfig,[]),
     BERT = proplists:get_value(bert,SysConfig,[]),
+    N2O = proplists:get_value(n2o,SysConfig,[]),
     JS = proplists:get_value(js,BERT,[]),
     JS = proplists:get_value(js,BERT,[]),
     ERL = proplists:get_value(erl,BERT,[]),
     ERL = proplists:get_value(erl,BERT,[]),
     SWIFT = proplists:get_value(swift,BERT,[]),
     SWIFT = proplists:get_value(swift,BERT,[]),
     GOOGLE = proplists:get_value(google,BERT,[]),
     GOOGLE = proplists:get_value(google,BERT,[]),
     Disallowed = proplists:get_value(disallowed,BERT,[]),
     Disallowed = proplists:get_value(disallowed,BERT,[]),
+    Igor = proplists:get_value(igor,N2O,[]),
+    application:set_env(n2o,igor,Igor),
     application:set_env(bert,js,JS),
     application:set_env(bert,js,JS),
     application:set_env(bert,erl,ERL),
     application:set_env(bert,erl,ERL),
     application:set_env(bert,swift,SWIFT),
     application:set_env(bert,swift,SWIFT),