Class: Cli::Commands::NewApp::BaseDirectories
- Inherits:
-
Object
- Object
- Cli::Commands::NewApp::BaseDirectories
- Defined in:
- lib/cli/commands/new_app/base_directories.rb
Class Method Summary collapse
Class Method Details
.call ⇒ Object
7 8 9 10 11 |
# File 'lib/cli/commands/new_app/base_directories.rb', line 7 def self.call directories.each do |dir| FileUtils.mkdir_p(dir) end end |
.directories ⇒ Object
13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 |
# File 'lib/cli/commands/new_app/base_directories.rb', line 13 def self.directories [ "app", "app/controllers", "app/models", "app/services", "bin", "config", "config/initializers", "db", "db/migrate", "db/seeds", "lib", "lib/tasks", "sorbet", "sorbet/rbi", "sorbet/rbi/shims", "sorbet/tapioca", "spec", "spec/factories", "spec/fixtures", "spec/support", ] end |