Sha256: 99a6e617e01c99d4afc314d066602cf941e89b27c36a8dde3f29d90b5605ba81
Contents?: true
Size: 1.16 KB
Versions: 9
Compression:
Stored size: 1.16 KB
Contents
module Foobara module Generators module EmptyRubyProjectGenerator module Generators class ProjectGenerator < Foobara::FilesGenerator class << self def manifest_to_generator_classes(manifest) case manifest when ProjectConfig [ Generators::BinConsoleGenerator, Generators::BootFinishGenerator, Generators::ChangelogGenerator, Generators::CiYamlGenerator, Generators::GemspecGenerator, Generators::GitignoreGenerator, Generators::InitialSpecGenerator, Generators::LibGenerator, Generators::LicenseGenerator, Generators::VersionGenerator ] else # :nocov: raise "Not sure how build a generator for a #{manifest}" # :nocov: end end end alias project_config relevant_manifest def templates_dir "#{__dir__}/../../templates" end end end end end end
Version data entries
9 entries across 9 versions & 1 rubygems