If podspec is written in Swift
[![CI Status](http://img.shields.io/travis/Khoa Pham/SwiftyPodspec.svg?style=flat)](https://travis-ci.org/Khoa Pham/SwiftyPodspec)
To run the example project, clone the repo, and run pod install
from the Example directory first.
let spec = Spec().configure {
$0.name = "SwiftyPodspec"
$0.version = Version(major: 0, minor: 1, patch: 0)
$0.summary = "If podspec is written in Swift"
$0.homepage = NSURL(string: "https://github.com/onmyway133/SwiftyPodspec")
$0.license = .MIT
$0.author = [Author(name: "Khoa Pham", email: "[email protected]")]
$0.source = .Git(Source.SourceGit(url: NSURL(string: "https://github.com/onmyway133/SwiftyPodspec.git")!, tag: $0.version))
$0.socialMediaURL = NSURL(string: "https://twitter.com/onmyway133")
$0.platform = [Platform(type: .iOS, version: Version(major: 8, minor: 0))]
$0.sourceFiles = ["Pod/Classes/**/*"]
$0.frameworks = ["Foundation"]
$0.dependencies = [Dependency(name: "Configurable", version: Version(major: 0, minor: 1, patch: 0))]
}
SwiftyPodspec is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod "SwiftyPodspec"
Khoa Pham, [email protected]
SwiftyPodspec is available under the MIT license. See the LICENSE file for more info.