Module: Pod::Podfile::DSL

Defined in:
lib/cocoapods-jxedt/binary/podfile_dsl.rb

Instance Method Summary collapse

Instance Method Details

#all_binary!Object



4
5
6
# File 'lib/cocoapods-jxedt/binary/podfile_dsl.rb', line 4

def all_binary!
    Jxedt.config.dsl_config.merge!({'all_binary': true})
end

#binary_dir(dir = nil) ⇒ Object



8
9
10
# File 'lib/cocoapods-jxedt/binary/podfile_dsl.rb', line 8

def binary_dir(dir=nil)
    Jxedt.config.dsl_config.merge!({'binary_dir': dir})
end

#binary_switch(enabled = true) ⇒ Object



12
13
14
# File 'lib/cocoapods-jxedt/binary/podfile_dsl.rb', line 12

def binary_switch(enabled=true)
    Jxedt.config.dsl_config.merge!({'binary_switch': enabled})
end

#cocoapods_jxedt_config(options) ⇒ Object



20
21
22
23
# File 'lib/cocoapods-jxedt/binary/podfile_dsl.rb', line 20

def cocoapods_jxedt_config(options)
    Jxedt.config.dsl_config.merge!(options)
    Jxedt.config.validate_dsl_config
end

#framework_header_search_enabled!Object



16
17
18
# File 'lib/cocoapods-jxedt/binary/podfile_dsl.rb', line 16

def framework_header_search_enabled!
    Jxedt.config.dsl_config.merge!({'framework_header_search_enabled': true})
end