-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathPackage.swift
33 lines (28 loc) · 852 Bytes
/
Package.swift
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
// swift-tools-version:5.3
// twitter-text
//
// Copyright (c) Paweł Madej 2020 | Twitter: @PawelMadejCK
// License: MIT (see LICENCE files for details)
import PackageDescription
let package = Package(
name: "twitter-text",
products: [
.library(name: "TwitterText", targets: ["TwitterText"])
],
dependencies: [
.package(url: "https://github.com/nysander/UnicodeURL.git", from: "0.1.0")
],
targets: [
.target(
name: "TwitterText",
dependencies: ["UnicodeURL"],
path: "Sources/TwitterText",
resources: [
.copy("config/v1.json"),
.copy("config/v2.json"),
.copy("config/v3.json"),
]
),
.testTarget(name: "TwitterTextTests", dependencies: ["TwitterText"])
]
)