Module: Terraspace::CLI::Concerns::SourceDirs
- Included in:
- Fmt, Fmt::Runner, List
- Defined in:
- lib/terraspace/cli/concerns/source_dirs.rb
Instance Method Summary collapse
-
#app_source_dirs ⇒ Object
dont include vendor: used by fmt.
-
#source_dirs ⇒ Object
used by list.
Instance Method Details
#app_source_dirs ⇒ Object
dont include vendor: used by fmt
9 10 11 |
# File 'lib/terraspace/cli/concerns/source_dirs.rb', line 9 def app_source_dirs Dir.glob("{app}/{modules,stacks}/*").select { |p| File.directory?(p) }.sort end |
#source_dirs ⇒ Object
used by list
4 5 6 |
# File 'lib/terraspace/cli/concerns/source_dirs.rb', line 4 def source_dirs Dir.glob("{app,vendor}/{modules,stacks}/*").select { |p| File.directory?(p) }.sort end |