Skip to content

luckymarmot/Paw-SwiftAlamofireCodeGenerator

Repository files navigation

Build Status

Swift + Alamofire Code Generator (Paw Extension)

A Paw Extension that generates Swift 3 code for the Alamofire 4.0 library.

Installation

Easily install this Paw Extension: Install Swift + Alamofire Code Generator

Development

Build & Install

npm install
cake build
cake install

Watch

During development, watch for changes:

cake watch

Tests

Tests are currently limited to some code samples generated by this project. Requests are run in an OS X CLI app against httpbin.org, using the latest Alamofire.

Podfile

Version >= 0.36.0 required

gem install cocoapods

An Xcode Project is present in the /test folder.

pod install --project-directory=./test/

Build & Run Tests

cake test

Build

set -o pipefail && xcodebuild -workspace 'SwiftAlamofireCodeGeneratorTest/SwiftAlamofireCodeGenerator.xcworkspace' -scheme SwiftAlamofireCodeGenerator clean build | xcpretty -c

License

This Paw Extension is released under the MIT License. Feel free to fork, and modify!

Copyright © 2014-2016 Paw Inc.

Contributors

See Contributors.

Credits

  • Mustache.js, also released under the MIT License
  • URI.js, also released under the MIT License