aguilarpgc / zewo-dev

Developer tool for contributing to Zewo

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

zewo-dev

zewo-dev is a tool to make developing Zewo modules and tracking their status easier.

The tool manages only modules including a Package.swift file, but checks out all the repositories in the Zewo organisation.

Installing

  • Tool is built using Ruby.
  • Requires you to have access to Github

gem install zewo-dev

Getting started

Create a directory in which you want to put all Zewo repositories, and move into it. Then run zewo init. This will clone all repositories in the Zewo organisation.

mkdir zewo-development
cd zewo-development
zewodev init

Xcode development

Run zewodev make_projects to generate Xcode projects for all Swift modules. Every time this command is run, the previously generated projects are removed entirely. Xcode files should not be pushed. Add XcodeDevelopment to .gitignore if not there already.

Because the tool also adds modules as dependencies you can work on several repositories simultaneously.

Checking status

zewodev status will show you the current status of all the repositories. Red means you have uncommitted changes, green means there are no uncommitted changes.

Lastly, you'll be prompted to push your changes.

Pulling changes

zewodev pull pulls changes from all repositories

Unit testing

If you create a folder called Tests in the same directory as your Sources directory, the tool will create a <ModuleName>-tests target and add the test files to that target.

About

Developer tool for contributing to Zewo

License:MIT License


Languages

Language:Ruby 99.0%Language:Shell 1.0%