Class: Wox::Builder
- Includes:
- Environment
- Defined in:
- lib/wox/builder.rb
Instance Attribute Summary
Attributes included from Environment
Instance Method Summary collapse
-
#build ⇒ Object
def initialize(environment); super end.
Methods included from Environment
Methods inherited from Task
Instance Method Details
#build ⇒ Object
def initialize(environment); super end
6 7 8 9 10 11 12 13 |
# File 'lib/wox/builder.rb', line 6 def build configuration = environment[:configuration] puts "Building #{environment[:full_name]} configuration:#{configuration}" log_file = File.join environment[:build_dir], "build-#{configuration}.log" run_command "xcodebuild -target '#{environment[:target]}' -configuration #{configuration}", :results => log_file end |