Class: Fanta::IpaTasks

Inherits:
Object
  • Object
show all
Includes:
TasksScope
Defined in:
lib/fanta/tasks.rb

Instance Attribute Summary

Attributes included from TasksScope

#environment, #parent_task

Instance Method Summary collapse

Methods included from TasksScope

#initialize

Instance Method Details

#testflight(name, options) ⇒ Object



73
74
75
76
77
78
79
80
# File 'lib/fanta/tasks.rb', line 73

def testflight name, options
  environment.apply options do |e|
    namespace :testflight do
      desc "Publishes #{e[:ipa_file]} to testflight"
      task(name => parent_task) { TestFlight.new(e).publish }
    end
  end
end