Sha256: 70083c4f737b2702b43515f54a2a7a609c944e6d8e1b9a9efe159515e3769351
Contents?: true
Size: 589 Bytes
Versions: 2
Compression:
Stored size: 589 Bytes
Contents
module DeployGate module Commands module Deploy class << self # @param [Array] args # @param [Commander::Command::Options] options def run(args, options) Init.login unless DeployGate::Session.new.login? # push or build(android/ios) args.push(Dir.pwd) if args.empty? work_file_path = args.first if File.directory?(work_file_path) Build.run(args, options) else # file upload Push.upload(args, options) end end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
deploygate-0.0.3 | lib/deploygate/commands/deploy.rb |
deploygate-0.0.2 | lib/deploygate/commands/deploy.rb |