Skip to content

CleverPumpkin/Generamba

 
 

Repository files navigation

Original README

Installation

Ruby 2.2 or later version is required. To check your current Ruby version run this command in terminal:

$ ruby --version

Since current version from Gems is not compatible with Xcode 9/10 - install fixed version from this repo:

  • sudo gem uninstall generamba
  • sudo gem install specific_install
  • sudo gem specific_install [email protected]:CleverPumpkin/Generamba.git

Usage

  1. *Only if starting from scratch and there is no Rambafile file in a project directory.

    Run generamba setup in the project root folder. This command helps to create Rambafile that define all configuration needed to generate code. You can modify this file directly in future.

  2. *Only if starting from scratch and there is no Rambafile file in a project directory.

    Add all templates planned to use in the project to the generated Rambafile. You can begin with one of the templates from our catalog: {name: 'rviper_controller'}.

  3. Run generamba template install. All the templates will be placed in the '/Templates' folder of your current project.

  4. Run generamba gen [MODULE_NAME] [TEMPLATE_NAME] - It creates module with specific name from specific template.

Additional info

Run generamba help to learn more about each of the Generamba features.

Wiki:

Other materials:

Authors

  • Egor Tolstoy, Beniamin Sarkisyan, Andrey Zarembo and the rest of Rambler.iOS team.

License

MIT

About

This codegenerator is too brilliant to be real!

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Ruby 95.7%
  • Liquid 4.2%
  • Shell 0.1%