Sha256: e4931212a04f38a71049162b79f59be0d69ca9a6375a037957e4657a4bd6654e
Contents?: true
Size: 573 Bytes
Versions: 9
Compression:
Stored size: 573 Bytes
Contents
# frozen_string_literal: true module Boppers module Generator class App < Thor::Group include Thor::Actions desc "Generate a new app structure" def self.source_root File.join(__dir__, "app") end def copy_files copy_file "gems.rb" copy_file "Procfile" copy_file "config/boppers.rb" copy_file ".gitgnore" copy_file ".env" end def run_commands inside destination_root do run "git init" run "bundle install" end end end end end
Version data entries
9 entries across 9 versions & 1 rubygems