Sha256: a3adae5170a8f3ac01db87fc72417ffd5d1fd7dcce8f6e6c6bcc33f2add2070b
Contents?: true
Size: 690 Bytes
Versions: 4
Compression:
Stored size: 690 Bytes
Contents
module Initial class CapistranoGenerator < Rails::Generators::Base source_root File.expand_path("../templates", __FILE__) def add gem_group :development do gem 'capistrano' gem 'capistrano-rbenv' gem 'capistrano-bundler' gem 'capistrano-rails' gem 'capistrano-sidekiq' , github: 'seuros/capistrano-sidekiq' end run "bundle install" directory 'capistrano/tasks', 'lib/capistrano/tasks' directory 'capistrano/shared', 'config/deploy/shared' files = %w(substitute_strings.rb template.rb) files.each do |f| template "capistrano/lib/#{f}", "lib/capistrano/#{f}" end end end end
Version data entries
4 entries across 4 versions & 1 rubygems