Sha256: 926c775abc1e23bce4ef52f03e7f86e217770b908a02770a79e097d9208ae75f
Contents?: true
Size: 703 Bytes
Versions: 1
Compression:
Stored size: 703 Bytes
Contents
#!/usr/bin/env ruby APP_ROOT = File.join(File.dirname(__FILE__), '..') begin require 'capitate' rescue LoadError require 'rubygems' require 'capitate' end def usage puts <<-EOS Capitate your project. Usage: #{$0} bootstrap EOS exit 1 end class CapitateBin class << self include Capitate::Plugins::Templates end end puts <<-EOS Generating capistrano configuration... EOS # Write Capfile CapitateBin.write("capistrano/Capfile", "Capfile") puts <<-EOS You now need to create and set you deployment "profile" in the Capfile. This is currently a manual process, see the documentation on profiles for more information. EOS
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
capitate-0.1.7 | bin/capitate |