Skip to content

gildo/minigen

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

minigen

just another projects generator

installation

$: [sudo] gem install minigen

description

a project generator that creates a tree like this (eg.):

.
├── project.gemspec
├── lib
│   └── project.rb
├── README.md
└── test
    ├── project_test.rb
    └── test_helper.rb

PROJECT.gemspec

a simple gemspec that takes the variable "version" from the constant "VERSION" present in "lib/project.rb"

lib/PROJECT.rb

contains something like:

module YourProject
  VERSION = "0.0.0"
end

README.md

a simple, markdown formatted, readme that contains some essential points (see paragraph one of: pengwynn's awesome post)

test/test_helper.rb

For now supports only two test suites:

test/project_test.rb

a failing test

synopsis

This command generates a new project using shoulda as test suite.

$: mgen mycoolproject shoulda

>:  - Generating your project: mycoolproject

If you want test/spec/mini:

$: mgen mynewproject tsm

** enjoy! **

license

This program is distributed under the GNU Affero General Public License

contribution and issues

Want to contribute?

Fork minigen

Have issues?

Create an Issue

author

Gildo Fiorito (fyskij@gmail.com)