Sha256: f1bf4b3e6ab7aa40dfc31b6fc41679ec82270ea609eb912f1da5c6643591f5cc

Contents?: true

Size: 464 Bytes

Versions: 2

Compression:

Stored size: 464 Bytes

Contents

#!/usr/bin/env ruby

require_relative '../../deploy-context'

def deployer
  DEPLOYER
end

if ARGV[0].nil?
  deployer.cycle
else
  case ARGV[0]
  when 'once'
    puts "Parameter passe #{ARGV[0]}"
    deployer.cycle
  when 'always'
    while true do
      deployer.cycle
    end
  when 'bump'
    deployer.minor_bump
  when 'release'
    deployer.major_bump
  when 'test'
    deployer.cucumber_test(deployer)
  else
    puts "Unkonown setting #{ARGV[0]}"
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
deploy-context-0.11.57.1.ga274362.1.g8977db8 lib/deploy-context/context/binary.rb
deploy-context-0.11.57.1.ga274362 lib/deploy-context/context/binary.rb