Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add SPM Support #16

Merged
merged 2 commits into from
Sep 17, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,11 @@ Pods/
#
# Add this line if you want to avoid checking in source code from Carthage dependencies.
# Carthage/Checkouts

Carthage/Build

# SPM
.swiftpm

# fastlane
#
# It is recommended to not store the screenshots in the git repo. Instead, use fastlane to re-generate the
Expand Down
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# Changelog

## [Unreleased]
* [#16](https://github.com/Blackjacx/Source/pull/16): Add SPM Support - [@Blackjacx](https://github.com/blackjacx).

## [1.0.8] - 2019-08-12
* Rename DidDeleteClosure && DidTapClosure > IndexPathClosure - [@Blackjacx](https://github.com/blackjacx).
Expand Down
24 changes: 24 additions & 0 deletions Package.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
// swift-tools-version:5.1

import PackageDescription

let package = Package(
name: "Source",
platforms: [
// .macOS(.v10_12),
.iOS(.v11),
// .tvOS(.v10),
// .watchOS(.v3)
],
products: [
.library(
name: "Source",
targets: ["Source"])
],
targets: [
.target(
name: "Source",
path: "Source")
],
swiftLanguageVersions: [.v5]
)