Class: FluentCommandBuilder::XCodeBuild::V43::BuildProject
- Inherits:
-
CommandBase
- Object
- CommandBase
- FluentCommandBuilder::XCodeBuild::V43::BuildProject
show all
- Defined in:
- lib/fluent_command_builder/command_builders/xcodebuild_43.rb
Instance Method Summary
collapse
Methods inherited from CommandBase
#configure!, #execute!, #to_s
Constructor Details
#initialize(underlying_builder, build_action = nil) ⇒ BuildProject
Returns a new instance of BuildProject.
77
78
79
80
81
|
# File 'lib/fluent_command_builder/command_builders/xcodebuild_43.rb', line 77
def initialize(underlying_builder, build_action=nil)
super underlying_builder
@b.append ' '
@b.append "#{@b.format build_action, ' '}" unless build_action.nil?
end
|
Instance Method Details
#all_targets {|@b| ... } ⇒ Object
82
83
84
85
86
|
# File 'lib/fluent_command_builder/command_builders/xcodebuild_43.rb', line 82
def all_targets
@b.append ' -alltargets'
yield @b if block_given?
self
end
|
#architecture(architecture) {|@b| ... } ⇒ Object
87
88
89
90
91
|
# File 'lib/fluent_command_builder/command_builders/xcodebuild_43.rb', line 87
def architecture(architecture)
@b.append " -arch #{@b.format architecture}"
yield @b if block_given?
self
end
|
#build_action(build_action) {|@b| ... } ⇒ Object
137
138
139
140
141
|
# File 'lib/fluent_command_builder/command_builders/xcodebuild_43.rb', line 137
def build_action(build_action)
@b.append " #{@b.format build_action, ' '}"
yield @b if block_given?
self
end
|
#configuration(configuration_name) {|@b| ... } ⇒ Object
92
93
94
95
96
|
# File 'lib/fluent_command_builder/command_builders/xcodebuild_43.rb', line 92
def configuration(configuration_name)
@b.append " -configuration #{@b.format configuration_name}"
yield @b if block_given?
self
end
|
#jobs(number) {|@b| ... } ⇒ Object
97
98
99
100
101
|
# File 'lib/fluent_command_builder/command_builders/xcodebuild_43.rb', line 97
def jobs(number)
@b.append " -jobs #{@b.format number}"
yield @b if block_given?
self
end
|
#parallelize_targets {|@b| ... } ⇒ Object
102
103
104
105
106
|
# File 'lib/fluent_command_builder/command_builders/xcodebuild_43.rb', line 102
def parallelize_targets
@b.append ' -parallelizeTargets'
yield @b if block_given?
self
end
|
#project(project_name) {|@b| ... } ⇒ Object
107
108
109
110
111
|
# File 'lib/fluent_command_builder/command_builders/xcodebuild_43.rb', line 107
def project(project_name)
@b.append " -project #{@b.format project_name}"
yield @b if block_given?
self
end
|
#sdk(sdk_name) {|@b| ... } ⇒ Object
117
118
119
120
121
|
# File 'lib/fluent_command_builder/command_builders/xcodebuild_43.rb', line 117
def sdk(sdk_name)
@b.append " -sdk #{@b.format sdk_name}"
yield @b if block_given?
self
end
|
#setting(setting, value) {|@b| ... } ⇒ Object
132
133
134
135
136
|
# File 'lib/fluent_command_builder/command_builders/xcodebuild_43.rb', line 132
def setting(setting, value)
@b.append " #{@b.format setting}=#{@b.format value}"
yield @b if block_given?
self
end
|
#target(target_name) {|@b| ... } ⇒ Object
112
113
114
115
116
|
# File 'lib/fluent_command_builder/command_builders/xcodebuild_43.rb', line 112
def target(target_name)
@b.append " -target #{@b.format target_name}"
yield @b if block_given?
self
end
|
#verbose {|@b| ... } ⇒ Object
122
123
124
125
126
|
# File 'lib/fluent_command_builder/command_builders/xcodebuild_43.rb', line 122
def verbose
@b.append ' -verbose'
yield @b if block_given?
self
end
|
#xcconfig(path) {|@b| ... } ⇒ Object
127
128
129
130
131
|
# File 'lib/fluent_command_builder/command_builders/xcodebuild_43.rb', line 127
def xcconfig(path)
@b.append " -xcconfig #{@b.format path}"
yield @b if block_given?
self
end
|