Sha256: 73a9e1d5b35354f5743e0b1884713bca6854754c3d7ce7dd0117cf9b68879f13

Contents?: true

Size: 378 Bytes

Versions: 5

Compression:

Stored size: 378 Bytes

Contents

# typed: false
# frozen_string_literal: true

require_relative "base"

module Hephaestus
  class DeploymentGenerator < Generators::Base
    def procfile
      copy_file("Procfile.dev", "Procfile.dev")
      copy_file("Procfile.debug", "Procfile.debug")
    end

    def sample_env
      copy_file(".env.test", ".env.test")
      copy_file(".env.test", ".env")
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
hephaestus-0.1.3 lib/hephaestus/generators/deployment_generator.rb
hephaestus-0.1.2 lib/hephaestus/generators/deployment_generator.rb
hephaestus-0.1.1 lib/hephaestus/generators/deployment_generator.rb
hephaestus-0.0.2 lib/hephaestus/generators/deployment_generator.rb
hephaestus-0.0.1 lib/hephaestus/generators/deployment_generator.rb