Skip to content

Latest commit

 

History

History
46 lines (33 loc) · 1.4 KB

README.rst

File metadata and controls

46 lines (33 loc) · 1.4 KB

signals

Codeship Status for yeti/signals
Coverage Status

A tool for auto generating libraries for different platforms to communicate with your API.

Recommended Setup

  1. Create a new python virtual environment
  2. pip install yak-signals

Instructions

The script is ran from signals.

To see a list of arguments run signals --help.

If you do not supply the required arguments when running, the script will prompt you for them one by one.

An example for running the script is:

signals --schema ~/projects/your-project/api-schema.json
--datamodels ~/projects/your-project/data-model-folder/
--coredata ~/projects/your-project/core-data.xcdatamodeld
--projectname your-project --generator objc

iOS

  1. If you’re running the iOS generator and writing to core data make sure you quit xcode
  2. Run signals, and pass the --coredata flag if you want to override core data.
  3. If you changed the core data models, you’ll need to have xcode auto generate the new model files