Skip to content

Commit

Permalink
Merge pull request #146 from mchoe/feature/41-SPM-support
Browse files Browse the repository at this point in the history
Added Package manifest file
  • Loading branch information
mchoe authored Sep 29, 2019
2 parents 7aa727c + 721dc84 commit 4b4edad
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ DerivedData
*.xcuserstate
.DS_Store

# SPM
.swiftpm

# Carthage
#
# Add this line if you want to avoid checking in source code from Carthage dependencies.
Expand Down
27 changes: 27 additions & 0 deletions Package.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
// swift-tools-version:5.0

import PackageDescription

let package = Package(
name: "SwiftSVG",
platforms: [.macOS(.v10_14), .iOS(.v8), .tvOS(.v9)],
products: [
.library(
name: "SwiftSVG",
targets: ["SwiftSVG"]
),
],
targets: [
.target(
name: "SwiftSVG",
dependencies: [],
path: "SwiftSVG"
),
.testTarget(
name: "SwiftSVGTests",
dependencies: ["SwiftSVG"],
path: "SwiftSVGTests"
),
],
swiftLanguageVersions: [.v5]
)

0 comments on commit 4b4edad

Please sign in to comment.