Class: FluentCommandBuilder::XCodeBuild::V43::XCodeBuild
- Inherits:
-
CommandBase
- Object
- CommandBase
- FluentCommandBuilder::XCodeBuild::V43::XCodeBuild
- Defined in:
- lib/fluent_command_builder/command_builders/xcodebuild_43.rb
Instance Method Summary collapse
- #build_project(build_action = nil) ⇒ Object
- #build_project_scheme(build_action = nil) ⇒ Object
- #build_workspace(workspace_name, build_action = nil) ⇒ Object
- #find(binary) {|@b| ... } ⇒ Object
-
#initialize(underlying_builder) ⇒ XCodeBuild
constructor
A new instance of XCodeBuild.
- #license {|@b| ... } ⇒ Object
- #list {|@b| ... } ⇒ Object
- #list_project(project_name) {|@b| ... } ⇒ Object
- #list_workspace(workspace_name) {|@b| ... } ⇒ Object
- #show_sdks {|@b| ... } ⇒ Object
- #usage {|@b| ... } ⇒ Object
- #version ⇒ Object
Methods inherited from CommandBase
Constructor Details
#initialize(underlying_builder) ⇒ XCodeBuild
Returns a new instance of XCodeBuild.
25 26 27 |
# File 'lib/fluent_command_builder/command_builders/xcodebuild_43.rb', line 25 def initialize() super end |
Instance Method Details
#build_project(build_action = nil) ⇒ Object
28 29 30 |
# File 'lib/fluent_command_builder/command_builders/xcodebuild_43.rb', line 28 def build_project(build_action=nil) BuildProject.new @b, build_action end |
#build_project_scheme(build_action = nil) ⇒ Object
31 32 33 |
# File 'lib/fluent_command_builder/command_builders/xcodebuild_43.rb', line 31 def build_project_scheme(build_action=nil) BuildProjectScheme.new @b, build_action end |
#build_workspace(workspace_name, build_action = nil) ⇒ Object
34 35 36 |
# File 'lib/fluent_command_builder/command_builders/xcodebuild_43.rb', line 34 def build_workspace(workspace_name, build_action=nil) BuildWorkspace.new @b, workspace_name, build_action end |
#find(binary) {|@b| ... } ⇒ Object
55 56 57 58 59 |
# File 'lib/fluent_command_builder/command_builders/xcodebuild_43.rb', line 55 def find(binary) @b.append " -find #{@b.format binary}" yield @b if block_given? self end |
#license {|@b| ... } ⇒ Object
60 61 62 63 64 |
# File 'lib/fluent_command_builder/command_builders/xcodebuild_43.rb', line 60 def license @b.append ' -license' yield @b if block_given? self end |
#list {|@b| ... } ⇒ Object
40 41 42 43 44 |
# File 'lib/fluent_command_builder/command_builders/xcodebuild_43.rb', line 40 def list @b.append ' -list' yield @b if block_given? self end |
#list_project(project_name) {|@b| ... } ⇒ Object
45 46 47 48 49 |
# File 'lib/fluent_command_builder/command_builders/xcodebuild_43.rb', line 45 def list_project(project_name) @b.append " -list -project #{@b.format project_name}" yield @b if block_given? self end |
#list_workspace(workspace_name) {|@b| ... } ⇒ Object
50 51 52 53 54 |
# File 'lib/fluent_command_builder/command_builders/xcodebuild_43.rb', line 50 def list_workspace(workspace_name) @b.append " -list -workspace #{@b.format workspace_name}" yield @b if block_given? self end |
#show_sdks {|@b| ... } ⇒ Object
65 66 67 68 69 |
# File 'lib/fluent_command_builder/command_builders/xcodebuild_43.rb', line 65 def show_sdks @b.append ' -showsdks' yield @b if block_given? self end |
#usage {|@b| ... } ⇒ Object
70 71 72 73 74 |
# File 'lib/fluent_command_builder/command_builders/xcodebuild_43.rb', line 70 def usage @b.append ' -usage' yield @b if block_given? self end |
#version ⇒ Object
37 38 39 |
# File 'lib/fluent_command_builder/command_builders/xcodebuild_43.rb', line 37 def version Version.new @b end |