Sha256: c3de8745ab0906bd3ff5153e9ae8f3f72e328ca2518766b509e0e0b6984bfcfd
Contents?: true
Size: 624 Bytes
Versions: 1
Compression:
Stored size: 624 Bytes
Contents
#!/usr/bin/env ruby require_relative '../../deploy-context' def deployer DEPLOYER end puts "Parameter pass #{ARGV[0]}" if ARGV[0].nil? deployer.cycle else case ARGV[0] when 'once' puts "\nExecute only once\n" deployer.cycle when 'always' puts "\nAlways in execution\n" while true do deployer.cycle end when 'bump' puts "\nBump minor version\n" deployer.minor_bump when 'release' puts "\nBump major version\n" deployer.major_bump when 'test' puts "\nExecute tests\n" deployer.cucumber_test(deployer) else puts "Unknown setting #{ARGV[0]}" end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
deploy-context-0.11.57.1.ga274362.1.g8977db8.2.g07fba0a | lib/deploy-context/context/binary.rb |