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