module XcodeArchiveCache::Config::DSL
Public Instance Methods
action(name)
click to toggle source
@param [String] name
# File lib/config/dsl.rb, line 37 def action(name) current_configuration.action = name end
build_configuration(name)
click to toggle source
@param [String] name
# File lib/config/dsl.rb, line 31 def build_configuration(name) current_configuration.build_configuration = name end
cache(name)
click to toggle source
@param [String] name
# File lib/config/dsl.rb, line 64 def cache(name) current_target.dependencies.push(name) end
cache_itself()
click to toggle source
# File lib/config/dsl.rb, line 68 def cache_itself current_target.dependencies.push(current_target.name) end
configuration(name) { || ... }
click to toggle source
@param [String] name
# File lib/config/dsl.rb, line 23 def configuration(name) entry.configurations.push(Configuration.new(name)) yield end
derived_data_path(path)
click to toggle source
@param [String] path
# File lib/config/dsl.rb, line 49 def derived_data_path(path) entry.settings.derived_data_path = path end
project(name) { || ... }
click to toggle source
@param [String] name
# File lib/config/dsl.rb, line 15 def project(name) self.entry = Project.new(name) yield end
target(name) { || ... }
click to toggle source
@return [String]
# File lib/config/dsl.rb, line 55 def target(name) target = Target.new(name) entry.targets.push(target) yield end
workspace(name) { || ... }
click to toggle source
@param [String] name
# File lib/config/dsl.rb, line 7 def workspace(name) self.entry = Workspace.new(name) yield end
xcodebuild_args(args)
click to toggle source
@param [String] args
# File lib/config/dsl.rb, line 43 def xcodebuild_args(args) current_configuration.xcodebuild_args = args end