Sha256: 38e85876a10d4fb6e919f93838e9f16afe2b76ff94813abb3eac87bf4032ddd8
Contents?: true
Size: 563 Bytes
Versions: 4
Compression:
Stored size: 563 Bytes
Contents
#!/usr/bin/env ruby $: << File.join(File.dirname(__FILE__),'..','lib') require 'deploy' def usage(errormessage = "") puts errormessage puts "usage: " puts " vmdeploy <archive> [executable]" puts "" puts " archive : the archive to deploy" puts " executable: the executable to execute after deployment - default : 'vmsim'" puts "" exit 1 end archive = ARGV[0] executable = ARGV[1] || 'vmsim' usage unless archive usage("archive #{archive} does not exist") unless File.exists?(archive) Deploy::Deployer.new(executable).deploy ARGV[0]
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
vmsim-1.0.1 | bin/vmdeploy |
vmsim-1.0.0 | bin/vmdeploy |
vmsim-0.2.4 | bin/vmdeploy |
vmsim-0.2.3 | bin/vmdeploy |