Sha256: 7bc1f8d4fdd2362255cf33ff6e27b9e90d2936794bbefe5123b9c1392611430c

Contents?: true

Size: 354 Bytes

Versions: 6

Compression:

Stored size: 354 Bytes

Contents

require_relative "../base"

module Suspenders
  module Production
    class DeploymentGenerator < Generators::Base
      def copy_script
        copy_file "bin_deploy", "bin/deploy"
        chmod "bin/deploy", 0o755
      end

      def inform_user
        append_template_to_file "README.md", "partials/deployment_readme.md"
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
suspenders-20230113.0 lib/suspenders/generators/production/deployment_generator.rb
suspenders-1.56.1 lib/suspenders/generators/production/deployment_generator.rb
suspenders-1.55.1 lib/suspenders/generators/production/deployment_generator.rb
suspenders-1.55.0 lib/suspenders/generators/production/deployment_generator.rb
suspenders-1.54.1 lib/suspenders/generators/production/deployment_generator.rb
suspenders-1.54.0 lib/suspenders/generators/production/deployment_generator.rb