lib/produce/manager.rb in produce-0.1.3 vs lib/produce/manager.rb in produce-0.1.4
- old
+ new
@@ -1,8 +1,11 @@
module Produce
class Manager
- def self.start_producing
- DeveloperCenter.new.run
- return ItunesConnect.new.run unless Config.val(:skip_itc)
+ # Produces app at DeveloperCenter and ItunesConnect
+ # @param config (Config) (optional) config to use. Will fallback to
+ # config with ENV values if not specified.
+ def self.start_producing(config = Config.new)
+ FastlaneCore::DeveloperCenter.new.run(config)
+ return FastlaneCore::ItunesConnect.new.run(config) unless config[:skip_itc]
end
end
end