forked from attaswift/Attabench
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Package.swift
26 lines (25 loc) · 1.32 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
// swift-tools-version:4.0
import PackageDescription
let package = Package(
name: "Attabench",
products: [
.library(name: "BenchmarkModel", targets: ["BenchmarkModel"]),
.library(name: "BenchmarkRunner", targets: ["BenchmarkRunner"]),
.library(name: "BenchmarkCharts", targets: ["BenchmarkCharts"]),
.executable(name: "attachart", targets: ["attachart"]),
],
dependencies: [
.package(url: "https://github.com/attaswift/Benchmarking", .branch("master")),
.package(url: "https://github.com/attaswift/BigInt", from: "3.0.0"),
.package(url: "https://github.com/attaswift/SipHash", from: "1.2.0"),
.package(url: "https://github.com/attaswift/GlueKit", from: "0.2.0"),
.package(url: "https://github.com/attaswift/OptionParser", from: "1.0.0"),
],
targets: [
.target(name: "BenchmarkModel", dependencies: ["BigInt", "GlueKit"], path: "BenchmarkModel"),
.target(name: "BenchmarkRunner", dependencies: ["Benchmarking", "BenchmarkModel"], path: "BenchmarkRunner"),
.target(name: "BenchmarkCharts", dependencies: ["BenchmarkModel"], path: "BenchmarkCharts"),
.target(name: "attachart", dependencies: ["BenchmarkModel", "BenchmarkCharts", "Benchmarking", "OptionParser"], path: "attachart"),
],
swiftLanguageVersions: [4]
)