Skip to content

Latest commit

 

History

History
46 lines (30 loc) · 2.32 KB

README.md

File metadata and controls

46 lines (30 loc) · 2.32 KB

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