Sha256: fa6c601d2a680b09cb57163dd01451cc539c79883166a66486e1bd83b0e84f2e

Contents?: true

Size: 572 Bytes

Versions: 2

Compression:

Stored size: 572 Bytes

Contents

# frozen_string_literal: true

require "refinements/struct"

module Hanamismith
  module Builders
    module Puma
      # Builds project skeleton Puma Procfile for production and development environments.
      class Procfile < Rubysmith::Builders::Abstract
        using Refinements::Struct

        def call
          builder.call(configuration.merge(template_path: "%project_name%/Procfile.erb")).render
          builder.call(configuration.merge(template_path: "%project_name%/Procfile.dev.erb")).render
          configuration
        end
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
hanamismith-0.38.0 lib/hanamismith/builders/puma/procfile.rb
hanamismith-0.37.0 lib/hanamismith/builders/puma/procfile.rb