Mgen
mruby gem (mgem) generator
mgen is a ruby cli to generate mruby gem projects
$ gem install mgen
Usage
Tasks:
mgen help [TASK] # Describe available tasks or one specific task
mgen info # information about Mgen.
mgen new <name> # generates a new mgem project.
the mgem project will generate the maximal GEM structure based on mruby standard:
+- GEM_NAME <- Name of GEM
|
+- include/ <- Header for Ruby extension (will exported)
|
+- mrblib/ <- Source for Ruby extension
|
+- src/ <- Source for C extension
|
+- test/ <- Test code (Ruby)
|
+- mrbgem.rake <- GEM Specification
|
+- build_config.rb <- Build configuration
|
+- README.md <- Readme for GEM
Contributing
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request