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.
Committing
zewodev commit MESSAGE will take you through all repositories and perform git add --all; git commit -am <MESSAGE> after you've confirmed that the status of each repo looks ok. Commits are performed after you've confirmed all commits.
Lastly, you'll be prompted to push your changes.
Push & pull
zewodev push and zewodev pull will push and pull changes for all Swift modules.