Sha256: 9d2d7487d2e3f608a7fcc41b24e2e99d2008239d7d555713a8acd847f9b9f4d0

Contents?: true

Size: 1.03 KB

Versions: 5

Compression:

Stored size: 1.03 KB

Contents

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

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
cocoapods-jxedt-0.0.21 lib/cocoapods-jxedt/binary/podfile_dsl.rb
cocoapods-jxedt-0.0.20 lib/cocoapods-jxedt/binary/podfile_dsl.rb
cocoapods-jxedt-0.0.19 lib/cocoapods-jxedt/binary/podfile_dsl.rb
cocoapods-jxedt-0.0.18 lib/cocoapods-jxedt/binary/podfile_dsl.rb
cocoapods-jxedt-0.0.17 lib/cocoapods-jxedt/binary/podfile_dsl.rb