- Source
- Issues
- Documentation
- [Email](mailto:postmodern.mod3 at gmail.com)
Ore is a flexible Ruby project generator. Unlike other Ruby project generators, Ore provides many builtin templates and allows custom templates to be installed from Git repositories.
Ore supports generating Git, Mercurial and SubVersion enabled projects.
$ mine my-project [--git | --hg]
Ore generates a pure-Ruby gemspec by default. Ore can also generate a gemspec.yml file.
Ore supports generating projects using Gem::Tasks, Bundler::GemHelper and even Gem::PackageTask.
$ mine my-project [--rubygems-tasks | --bundler-tasks | --gem-package-task]
Ore can also generate a Bundler project.
$ mine my-project --bundler
Ore supports RDoc, Markdown and Textile markup.
$ mine my-project [--rdoc | --markdown | --textile]
Ore supports generating projects with RDoc or YARD documentation.
$ mine my-project [--rdoc | --yard]
Ore supports generating RSpec, Minitest or Test::Unit tests.
$ mine my-project [--test-unit | --minitest | --rspec]
Additional templates can also be installed from Git:
$ ore install git://github.com/ruby-ore/rbenv.git
$ mine my-project --rbenv
- thor ~> 0.15
$ gem install ore
Generate a new project:
$ mine my_project
Generate a new customized project:
$ mine my_project --bundler --rspec --yard
Generate a new project using previously installed templates:
$ mine my_project --bundler --rspec --yard --templates rbenv
Set your github username, so mine
can generate GitHub project URLs:
$ git config github.user foobar
$ mine my_project
Install a custom template:
$ ore install git://github.com/ruby-ore/rbenv.git
List installed templates:
$ ore list
Remove a previously installed template:
$ ore remove rbenv
Add default generator options to ~/.ore/options.yml
:
gemspec_yml: true
rubygems_tasks: true
rspec: true
yard: true
markdown: true
authors:
- Alice
email: [email protected]
Copyright (c) 2010-2012 Hal Brodigan
See {file:LICENSE.txt} for license information.