Sha256: 5f80f5b96733a7536a5f3ad0ab54afafee3b8117b046ffa33a51d06a6c984aae

Contents?: true

Size: 372 Bytes

Versions: 22

Compression:

Stored size: 372 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
  else
    puts "Unkonown setting #{ARGV[0]}"
  end
end


Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
deploy-context-0.8.0.1.g477974d bin/deploy-context
deploy-context-0.7.4 bin/deploy-context
deploy-context-0.7.3 bin/deploy-context
deploy-context-0.7.2 bin/deploy-context
deploy-context-0.7.1 bin/deploy-context
deploy-context-0.6.4 bin/deploy-context
deploy-context-0.6.3 bin/deploy-context
deploy-context-0.6.2 bin/deploy-context
deploy-context-0.6.1.2.gfb82de1 bin/deploy-context
deploy-context-0.6.1.1.g7f112bd bin/deploy-context
deploy-context-0.6.1 bin/deploy-context
deploy-context-0.6.0.1.ge54bf72.1.g3590b37.2.gde4b626 bin/deploy-context
deploy-context-0.6.0.1.ge54bf72.1.g3590b37.1.g08f003f bin/deploy-context
deploy-context-0.6.0.1.ge54bf72.1.g3590b37 bin/deploy-context
deploy-context-0.6.0.1.ge54bf72 bin/deploy-context
deploy-context-0.5.1.1.g528de70.1.g25eba10 bin/deploy-context
deploy-context-0.5.1.1.g528de70 bin/deploy-context
deploy-context-0.5.1 bin/deploy-context
deploy-context-0.5.0.2.gd7dfe44.1.g11bfe44 bin/deploy-context
deploy-context-0.5.0.2.gd7dfe44 bin/deploy-context