Class: IosBox::Tasks
- Inherits:
-
Rake::TaskLib
- Object
- Rake::TaskLib
- IosBox::Tasks
- Defined in:
- lib/ios_box.rb
Defined Under Namespace
Classes: Config
Instance Method Summary collapse
-
#initialize(namespace = :iosbox) {|@config| ... } ⇒ Tasks
constructor
A new instance of Tasks.
Constructor Details
#initialize(namespace = :iosbox) {|@config| ... } ⇒ Tasks
Returns a new instance of Tasks.
12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 |
# File 'lib/ios_box.rb', line 12 def initialize(namespace = :iosbox, &block) @config = Config.new( :configuration => "Adhoc", :build_style => :months, :bundle_version_style => "V.b", :buildCache => ".buildCache" ) yield @config # Load build cache @buildCache = BuildCache.load(@config.buildCache) || BuildCache.new @buildCache.init(@config) @namespace = namespace define end |