module Pod class Podfile module DSL def all_binary! Jxedt.config.dsl_config.merge!({'all_binary': true}) end def binary_dir(dir=nil) Jxedt.config.dsl_config.merge!({'binary_dir': dir}) end def binary_switch(enabled=true) Jxedt.config.dsl_config.merge!({'binary_switch': enabled}) end def framework_header_search_enabled! Jxedt.config.dsl_config.merge!({'framework_header_search_enabled': true}) end # 统一设置是否使用binary def use_binary_settings(options=nil) return if options.nil? return unless options.is_a?(Hash) Jxedt.config.dsl_config.merge!({'use_binary_settings': options}) end def cocoapods_jxedt_config(options) Jxedt.config.dsl_config.merge!(options) Jxedt.config.validate_dsl_config end end end end