Sha256: ff6710a81e0e420bfc5c70d35790db842f1056eceaa22d4ed74dd70e171ef4d1
Contents?: true
Size: 694 Bytes
Versions: 2
Compression:
Stored size: 694 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 unless (@_initializer.first & %w[android ios]).empty? 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 create_allure_folder empty_directory "#{name}/allure-results" end def create_screenshots_folder empty_directory "#{name}/allure-results/screenshots" end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
ruby_raider-0.4.4 | lib/generators/common_generator.rb |
ruby_raider-0.4.3 | lib/generators/common_generator.rb |