Browse Source

add disallowed flag for bert

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

+ 1 - 1
include/mad.hrl

@@ -1 +1 @@
--define(VERSION,"5.4-17-g23e4fa2").
+-define(VERSION,"5.4-18-g9f32008").

BIN
mad


+ 2 - 0
src/compile/mad_compile.erl

@@ -9,10 +9,12 @@ compile(Params) ->
     ERL = proplists:get_value(erl,BERT,[]),
     SWIFT = proplists:get_value(swift,BERT,[]),
     GOOGLE = proplists:get_value(google,BERT,[]),
+    Disallowed = proplists:get_value(disallowed,BERT,[]),
     application:set_env(bert,js,JS),
     application:set_env(bert,erl,ERL),
     application:set_env(bert,swift,SWIFT),
     application:set_env(bert,google,GOOGLE),
+    application:set_env(bert,disallowed,Disallowed),
     case mad_utils:configs() of
          {error,E} -> {error,E};
          {ok,{ Cwd, ConfigFile, Conf }} ->