Skip to content

A cross language template based code generator, capable of generating multiple applications from a common model.

License

Notifications You must be signed in to change notification settings

beattyml1/codgen

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Codgen Gem Version Build Status Code Climate

Codgen is a cross language, template based, code generator, capable of generating multiple applications from a common model.

It uses JSON for it's model and config and you can use mustache or handlebars templates or just verbatim copy.

If you find bugs or bad error messages be sure to log an issue. If it's not to big I'll probably get to pretty quickly. Pull requests are also most welcome!

Installation

$ gem install codgen

Usage

$ codgen.rb [input_directory_path|config_path.json] [output_directory_path]

Examples

$ codgen.rb codgen_config.json
$ codgen.rb input_dir output_dir

For more info see the wiki page

Contributing

  1. Fork it ( https://github.com/beattyml1/codgen/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

About

A cross language template based code generator, capable of generating multiple applications from a common model.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published