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

Version Path
daemon-kit-0.2.3 lib/generators/daemon_kit/capistrano/capistrano_generator.rb
daemon-kit-0.2.1 lib/generators/daemon_kit/capistrano/capistrano_generator.rb
daemon-kit-0.2.0 lib/generators/daemon_kit/capistrano/capistrano_generator.rb
daemon-kit-0.1.8.2 lib/generators/daemon_kit/capistrano/capistrano_generator.rb
amqp-daemon-kit-1.0.1 lib/generators/daemon_kit/capistrano/capistrano_generator.rb
amqp-daemon-kit-0.1.8.2 lib/generators/daemon_kit/capistrano/capistrano_generator.rb
amqp-daemon-kit-0.1.8.1 lib/generators/daemon_kit/capistrano/capistrano_generator.rb
daemon-kit-0.1.8.1 lib/generators/daemon_kit/capistrano/capistrano_generator.rb
daemon-kit-0.1.8 lib/generators/daemon_kit/capistrano/capistrano_generator.rb
daemon-kit-0.1.8rc3 lib/generators/daemon_kit/capistrano/capistrano_generator.rb
textgoeshere-daemon-kit-0.1.8.31 lib/generators/daemon_kit/capistrano/capistrano_generator.rb
textgoeshere-daemon-kit-0.1.8rc3 lib/generators/daemon_kit/capistrano/capistrano_generator.rb