Sha256: 88e8570d6228f6a3392e02a9f77fc85bf8a4ca54f12f2736c303680befa3a470

Contents?: true

Size: 380 Bytes

Versions: 4

Compression:

Stored size: 380 Bytes

Contents

module Capistrano
  module Nginx
    module Generators
      class ConfigGenerator < Rails::Generators::Base
        desc "Create local nginx configuration file for customization"
        source_root File.expand_path('../templates', __FILE__)

        def copy_template
          copy_file "_nginx_conf.erb", "config/deploy/nginx_conf.erb"
        end
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
capistrano-nginx-1.0.0 lib/generators/capistrano/nginx/config_generator.rb
capistrano-nginx-0.1.0 lib/generators/capistrano/nginx/config_generator.rb
capistrano-nginx-0.0.2 lib/generators/capistrano/nginx/config_generator.rb
capistrano-nginx-0.0.1 lib/generators/capistrano/nginx/config_generator.rb