class Dry::Web::WebPipe::Generators::UmbrellaProject

Private Instance Methods

add_application() click to toggle source
# File lib/dry/web/web_pipe/generators/umbrella_project.rb, line 16
def add_application
  add_template("umbrella_project/router.rb.tt", "system/#{underscored_project_name}/router.rb")
end
add_boot() click to toggle source
# File lib/dry/web/web_pipe/generators/umbrella_project.rb, line 12
def add_boot
  add_template("umbrella_project/boot.rb.tt", "system/boot.rb")
end
post_process_callback() click to toggle source
# File lib/dry/web/web_pipe/generators/umbrella_project.rb, line 20
def post_process_callback
  Dir.chdir(target_dir) do
    Generators::SubApp.new("main", umbrella: target_dir).call
  end
end