Sha256: 31c487b18cc15f2ec790b473c1628e4472812df0e878d0b4566b594de4f23272
Contents?: true
Size: 516 Bytes
Versions: 1
Compression:
Stored size: 516 Bytes
Contents
module MRuby::CLI module Generators class Build < Thor::Group include Thor::Actions argument :name def self.source_root File.expand_path('../build', __FILE__) end def generate_build_config template('build_config.rb.erb', "#{name}/build_config.rb") end def generate_gemfile template('gemfile.erb', "#{name}/Gemfile") end def generate_gitignore template('gitignore.erb', "#{name}/.gitignore") 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/build.rb |