Class: Cli::Commands::NewApp::Files::Rakefile
- Inherits:
-
Object
- Object
- Cli::Commands::NewApp::Files::Rakefile
- Defined in:
- lib/cli/commands/new_app/files/rakefile.rb
Class Method Summary collapse
Class Method Details
.call ⇒ Object
8 9 10 |
# File 'lib/cli/commands/new_app/files/rakefile.rb', line 8 def self.call File.write("Rakefile", content) end |
.content ⇒ Object
12 13 14 15 16 17 18 19 20 21 22 23 24 25 |
# File 'lib/cli/commands/new_app/files/rakefile.rb', line 12 def self.content <<~RUBY # typed: false # frozen_string_literal: true require "rake" require_relative "app" Dir.glob("#{Kirei::GEM_ROOT}/lib/tasks/**/*.rake").each { import(_1) } Dir.glob("lib/tasks/**/*.rake").each { import(_1) } RUBY end |