Class: Swiftproj::GenerateXcodeprojCommand
- Defined in:
- lib/swiftproj/commands/generate_xcodeproj_command.rb
Class Method Summary collapse
Instance Method Summary collapse
Methods inherited from Command
#command_class, command_name, #get_command, help_message, #initialize, options, #parse_options
Constructor Details
This class inherits a constructor from Swiftproj::Command
Class Method Details
.description ⇒ Object
3 4 5 |
# File 'lib/swiftproj/commands/generate_xcodeproj_command.rb', line 3 def self.description() return "Generates a xcconfig file from podspec file" end |
Instance Method Details
#run(options) ⇒ Object
7 8 9 10 11 12 13 14 |
# File 'lib/swiftproj/commands/generate_xcodeproj_command.rb', line 7 def run() argv = [] for key, value in argv.push(key) argv.push(value) unless value.nil? end @core.generate_xcodeproj(argv) end |