Project

regen

0.0
No commit activity in last 3 years
No release in over 3 years
Quickly generate project boilerplate so you can get to work.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

>= 3.2.0

Runtime

>= 1.8.3
 Project Readme

Regen

Quickly generate project boilerplate so you can get to work.

Regen is a simple project template generator. It tries to do just enough to get out of your way and let you get the real work done.

Installing Regen is simple

gem install regen

Regen can then be run from the command line specifying the destination directory and an a config file location.

The Regen config file is a simple JSON file.

{
  "templates": [
    "https://github.com/bigtunacan/rgen_ruby_223_template"
  ],
  "ignore": [
    ".git",
    "README.md"
  ],
  "pre-commands": [
  ],
  "post-commands": [
    "echo 'sample' > .ruby-gemset"
  ]
}

Regen can install from local directory templates or git repositories templates. Specify an ignore list if there are files in the template location that should not be sent to the destination directory (Readme files, .git files, etc...).

The pre-commands list will run local to the destination directory prior to the templates being moved over.

The post-commands list will run local to the destination directory after the templates have been moved.

Regen can apply multiple templates one on top of another; this is so you can build templates up in layers that may be applied one on top of the other. This presents a risk of file collisions; Regen handles this by using a basic last in wins method of applying templates.

DISCLAIMER

You use this product at your own risk. Regen config files pre & post commands could be used to cause harm to your computer. If you are using public templates you should examine the config files and make sure you understand what it is doing before using Regen.

LICENSE

Regen is licensed under the MIT license.