Sha256: 4cd763869bbe404400927ce37c651fec4fe82358fcbbeb838b613c7f84d25d22
Contents?: true
Size: 494 Bytes
Versions: 12
Compression:
Stored size: 494 Bytes
Contents
module DaemonKit module Generators class CapistranoGenerator < Base def update_gemfile append_file 'Gemfile', "gem 'capistrano'\n" append_file 'Gemfile', "gem 'capistrano-ext'\n" end def create_capfile copy_file 'Capfile' end def create_config directory 'config' end protected def self.source_root File.expand_path( File.join( File.dirname(__FILE__), 'templates') ) end end end end
Version data entries
12 entries across 12 versions & 3 rubygems