Skip to content

Commit

Permalink
Added Swift Package Manager Support (#89)
Browse files Browse the repository at this point in the history
* Added Swift Package Manager support

In order to make it work it is necessary to create a new Tag/Release for version 4.2.9 as it's specified in Line 5

* Update README.md
  • Loading branch information
davidvpe authored and melvitax committed Jul 15, 2019
1 parent a729347 commit d043a66
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 1 deletion.
31 changes: 31 additions & 0 deletions Package.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
// swift-tools-version:5.0
//
// AFDateHelper.swift
// https://github.com/melvitax/DateHelper
// Version 4.2.9
//
// Created by David Velarde on 6/7/19.
// Copyright (c) 2019. All rights reserved.
//

import PackageDescription

let package = Package(
name: "DateHelper",
platforms: [
.iOS(.v9),
.macOS(.v10_11),
.tvOS(.v9),
.watchOS(.v2)
],
products: [
.library(name: "DateHelper", targets: ["DateHelper"])
],
targets: [
.target(
name: "DateHelper",
path: "Sources"
)
],
swiftLanguageVersions: [.v5]
)
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -406,7 +406,9 @@ Minimum: iOS 9, tvOS 9, watchOS 2, macOS 10.06

## Installation

**Carthage** github "melvitax/DateHelper"

**Carthage** github "melvitax/DateHelper"
**Swift Package Manager** https://github.com/melvitax/DateHelper.git
**Cocoapods** pod 'AFDateHelper', '~> 4.3.0'
**Manually** Include DateHelper.swift in your project

Expand Down

0 comments on commit d043a66

Please sign in to comment.