-
Notifications
You must be signed in to change notification settings - Fork 5
/
Package.swift
44 lines (40 loc) · 1.62 KB
/
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
34
35
36
37
38
39
40
41
42
43
44
// swift-tools-version:4.2
// The swift-tools-version declares the minimum version of Swift required to build this package.
import PackageDescription
let package = Package(
name: "Music",
products: [
.library(name: "Articulations", targets: ["Articulations"]),
.library(name: "Dynamics", targets: ["Dynamics"]),
.library(name: "Pitch", targets: ["Pitch"]),
.library(name: "Duration", targets: ["Duration"]),
.library(name: "MusicModel", targets: ["MusicModel"])
],
dependencies: [
.package(url: "https://github.com/dn-m/Structure", from: "0.24.0"),
.package(url: "https://github.com/dn-m/Math", from: "0.7.0")
],
targets: [
// Sources
.target(name: "Articulations", dependencies: []),
.target(name: "Dynamics", dependencies: ["Destructure", "DataStructures"]),
.target(name: "Pitch", dependencies: ["Math", "DataStructures"]),
.target(name: "Duration", dependencies: ["Math", "DataStructures"]),
.target(
name: "MusicModel",
dependencies: [
"Algebra",
"DataStructures",
"Articulations",
"Pitch",
"Duration"
]
),
// Tests
.testTarget(name: "ArticulationsTests", dependencies: ["Articulations"]),
.testTarget(name: "DynamicsTests", dependencies: ["Dynamics"]),
.testTarget(name: "PitchTests", dependencies: ["Pitch"]),
.testTarget(name: "DurationTests", dependencies: ["Duration"]),
.testTarget(name: "MusicModelTests", dependencies: ["MusicModel"])
]
)