Skip to content

Commit

Permalink
Merge pull request #71 from rromanchuk/spm
Browse files Browse the repository at this point in the history
SPM support
  • Loading branch information
Nirma authored Mar 14, 2021
2 parents a127e4c + bb174be commit 7355da6
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ playground.xcworkspace
# Add this line if you want to avoid checking in source code from Swift Package Manager dependencies.
# Packages/
.build/
.swiftpm

# CocoaPods
#
Expand Down
33 changes: 33 additions & 0 deletions Package.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
// swift-tools-version:5.3
// The swift-tools-version declares the minimum version of Swift required to build this package.

import PackageDescription

let package = Package(
name: "Attributed",
platforms: [.iOS(.v10)],
products: [
// Products define the executables and libraries a package produces, and make them visible to other packages.
.library(
name: "Attributed",
targets: ["Attributed"]),
],
dependencies: [
// Dependencies declare other packages that this package depends on.
// .package(url: /* package url */, from: "1.0.0"),
],
targets: [
// Targets are the basic building blocks of a package. A target can define a module or a test suite.
// Targets can depend on other targets in this package, and on products in packages this package depends on.
.target(
name: "Attributed",
dependencies: [],
path: "Attributed",
exclude: ["Info.plist"]),
.testTarget(
name: "AttributedTests",
dependencies: ["Attributed"],
path: "AttributedTests",
exclude: ["Info.plist"]),
]
)

0 comments on commit 7355da6

Please sign in to comment.