GithubHelp home page GithubHelp logo

armyxomuil / generamba Goto Github PK

View Code? Open in Web Editor NEW

This project forked from strongself/generamba

0.0 2.0 0.0 547 KB

This codegenerator is too brilliant to be real!

Ruby 93.06% Shell 0.23% Liquid 6.71%

generamba's Introduction

Overview

Gem Version

Generamba is a code generator made for working with Xcode. Primarily it is designed to generate VIPER modules but it is quite easy to customize it for generation of any other classes.

Generamba Screenshot

Key features

  • Supports work with .xcodeproj files out of the box. All generated class files are automaticly placed on specific folders and groups of Xcode project.
  • Can generate both code itself and tests adding them to right targets.
  • Based on work with liquid-templates that have plain and readable syntax in comparison with templates for Xcode.
  • It is very easy to create a new module: generamba gen [MODULE_NAME] [TEMPLATE_NAME]. You do not need to input a bunch of data each time because each project corresponds to only one configuration file that holds standard file system and Xcode-project pathes, names of targets, information about the author.

Installation

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

$ ruby --version

When necessary you can install the required Ruby version with the help of rvm or rbenv.

Run the command gem install generamba.

Using

  1. 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. 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.

Authors

  • Rambler.iOS team

License

MIT

generamba's People

Contributors

etolstoy avatar maximbazarov avatar beniamiiin avatar rodionovd avatar

Watchers

James Cloos avatar Dmitry Ponomarev avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.