deliver/lib/deliver/commands_generator.rb in fastlane-2.69.0.beta.20171212010004 vs deliver/lib/deliver/commands_generator.rb in fastlane-2.69.0
- old
+ new
@@ -61,12 +61,13 @@
# Check if we already have a deliver setup in the current directory
loaded = true if options[:description] || options[:ipa] || options[:pkg]
loaded = true if File.exist?(File.join(FastlaneCore::FastlaneFolder.path || ".", "metadata"))
unless loaded
if UI.confirm("No deliver configuration found in the current directory. Do you want to setup deliver?")
+ is_swift = UI.confirm("Would you like to use Swift instead of Ruby?")
require 'deliver/setup'
Deliver::Runner.new(options) # to login...
- Deliver::Setup.new.run(options)
+ Deliver::Setup.new.run(options, is_swift: is_swift)
return 0
end
end
Deliver::Runner.new(options).run