Sha256: fde44342c754d1aea9774e50f695fd92255a140ce05b98c16eb397db49e38fb7
Contents?: true
Size: 665 Bytes
Versions: 11
Compression:
Stored size: 665 Bytes
Contents
module TerraspaceBundler class Runner < CLI::Base def run Syncer.new(@options).run Exporter.new(@options).run finish_message end def finish_message no_modules_found = true export_paths.each do |path| found = Dir.exist?(path) && !Dir.empty?(path) next unless found logger.info "Modules saved to #{path}" no_modules_found = false end logger.info("No modules were found.") if no_modules_found end def export_paths export_paths = Terrafile.instance.mods.map(&:export_to).compact.uniq export_paths << TB.config.export_to export_paths end end end
Version data entries
11 entries across 11 versions & 1 rubygems