Sha256: 64126dfb491620342576cf3603b8ab875c2bbd59a240badd2959c0769d1a0643
Contents?: true
Size: 940 Bytes
Versions: 1
Compression:
Stored size: 940 Bytes
Contents
module MRuby::CLI module Generators class Gem < Base def generate_mrbgem_description template('mrbgem.rake.erb', "#{path}/mrbgem.rake") template('license.txt.erb', "#{path}/LICENSE.txt") template('readme.md.erb', "#{path}/README.md") template('code_of_conduct.md.erb', "#{path}/CODE_OF_CONDUCT.md") end def generate_source_files template('mrblib.rb.erb', "#{path}/mrblib/#{short_name}.rb") template('src.c.erb', "#{path}/src/#{short_name}.c") end def generate_documentation_files template('yardopts.erb', "#{path}/.yardopts") template('inch.yml.erb', "#{path}/.inch.yml") end def generate_test_files template('test.rb.erb', "#{path}/test/#{short_name}_spec.rb") template('build_config.rb.erb', "#{path}/build_config.rb") template('travis.yml.erb', "#{path}/.travis.yml") end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
mruby-cli-0.2.0 | lib/mruby/cli/generators/gem.rb |