Sha256: 54a9ff40a97fb64b4212925de0913c9528bf4a972ea7ec5ade76cb9218929d9a
Contents?: true
Size: 837 Bytes
Versions: 28
Compression:
Stored size: 837 Bytes
Contents
# frozen_string_literal: true require_relative 'generator' class CommonGenerator < Generator def generate_readme_file template('common/read_me.tt', "#{name}/Readme.md") end def generate_config_file return if single_platform? template('common/config.tt', "#{name}/config/config.yml") end def generate_rake_file template('common/rakefile.tt', "#{name}/Rakefile") end def generate_gemfile template('common/gemfile.tt', "#{name}/Gemfile") end def generate_reek_file template('common/reek.tt', "#{name}/.reek.yml") end def generate_rubocop_file template('common/rubocop.tt', "#{name}/.rubocop.yml") end def generate_gitignore_file template('common/git_ignore.tt', "#{name}/.gitignore") end def create_allure_folder empty_directory "#{name}/allure-results" end end
Version data entries
28 entries across 28 versions & 1 rubygems