Skip to content

Latest commit

 

History

History
54 lines (39 loc) · 1.88 KB

README.md

File metadata and controls

54 lines (39 loc) · 1.88 KB

Helper

Command line utility for generating and maintaining frameworks and applications in the dn-m project.

This project uses Cocoapods/Xcodeproj to generate and inject frameworks into Xcode project, and Commander for the command line argument parsing.

Dependencies

Integration

  1. Ensure that Ruby and Bundler are installed
  2. git clone https://github.com/dn-m/Helper or download the zip from the latest release
  3. cd Helper
  4. bundle install (this will install all of the ruby gem dependencies)
  5. cp dn-m /usr/local/bin

If you have any issues, it's worth giving brew update / brew upgrade a shot.

Usage

Creating a project

Create a new directory with the name of the new project:

  • mkdir NameOfNewProject

Navigate to that directory:

  • cd NameOfNewProject

dn-m init

  • Creates a new iOS + macOS framework from scratch
  • Calls config

dn-m config

Maintaining a project

dn-m update

  • Updates framework dependencies via Carthage
  • Calls inject

dn-m inject

  • Injects framework dependencies into project