Sha256: e64788b06cc2bedc907bcf1c8544f2a9c2cad5c082893d832d3e7c08d082344c
Contents?: true
Size: 1.01 KB
Versions: 4
Compression:
Stored size: 1.01 KB
Contents
command :run do |c| c.syntax = 'deliver' c.description = 'Run a deploy process using the Deliverfile in the current folder' c.option '--force', 'Runs a deployment without verifying any information (PDF file). This can be used for build servers.' c.option '--beta', 'Runs a deployment to beta build on iTunes Connect' c.option '--skip-deploy', 'Skips deployment on iTunes Connect' c.action do |args, options| Deliver::DependencyChecker.check_dependencies if File.exists?(deliver_path) # Everything looks alright, use the given Deliverfile options.default :beta => false, :skip_deploy => false Deliver::Deliverer.new(deliver_path, force: options.force, is_beta_ipa: options.beta, skip_deploy: options.skip_deploy) else Deliver::Helper.log.warn("No Deliverfile found at path '#{deliver_path}'.") if agree("Do you want to create a new Deliverfile at the current directory? (y/n)", true) Deliver::DeliverfileCreator.create(enclosed_directory) end end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
deliver-0.4.2 | lib/deliver/commands/run.rb |
deliver-0.4.1 | lib/deliver/commands/run.rb |
deliver-0.4.0 | lib/deliver/commands/run.rb |
deliver-0.4.0.beta1 | lib/deliver/commands/run.rb |