Sha256: 4e43beaa2fae7b2296462e75893027e2dd218d59185b565768dc097fbb421361

Contents?: true

Size: 412 Bytes

Versions: 2

Compression:

Stored size: 412 Bytes

Contents

#!/usr/bin/env ruby

require 'deploy-context'
require 'deploy-context/deploy'

deployer = Context::DeployContext.new(__dir__)

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 'reset'
    deployer.patch_reset
  else
    puts "Unkonown setting #{ARGV[0]}"
  end
end


Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
deploy-context-0.8.1 bin/deploy-context
deploy-context-0.8.0.2.ged8af61 bin/deploy-context