/
Package.swift
30 lines (28 loc) · 924 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
// swift-tools-version:4.1
import PackageDescription
let package = Package(
name: "Song",
products: [
.executable(name: "song", targets: ["Sing"]),
.library(name: "Song", targets: ["Song"])
],
dependencies: [
.package(url: "https://github.com/dcutting/Syft.git", .branch("develop")),
.package(url: "https://github.com/apple/swift-package-manager.git", from: "0.1.0"),
.package(url: "https://github.com/dcutting/linenoise-swift.git", .branch("master")),
],
targets: [
.target(
name: "Sing",
dependencies: ["Song", "Utility", "LineNoise"]),
.target(
name: "Song",
dependencies: ["Syft", "Utility"]),
.testTarget(
name: "SongTests",
dependencies: ["Song"]),
.testTarget(
name: "SongPerformanceTests",
dependencies: ["Song"])
]
)