forked from ThePowerOfSwift/CoreKit
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathPackage.swift
More file actions
47 lines (44 loc) · 1.26 KB
/
Copy pathPackage.swift
File metadata and controls
47 lines (44 loc) · 1.26 KB
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
45
46
47
// swift-tools-version:4.0
import PackageDescription
// Until 'real' appleOS targets are not supported (WWDC18?!?),
// this is going to speed up builds on pure Linux & Darwin
// basically this will only turn on Swift, Foundation, Dispatch
let excludePaths = [
"AppleKit",
"ARKit",
"AVFoundation",
"CoreGraphics",
"CoreKit",
"CoreLocation",
"QuartzCore",
"SpriteKit",
"StoreKit",
"WatchKit"
]
let package = Package(
name: "CoreKit",
products: [
.library(
name: "CoreKit",
targets: ["CoreKit"]
)
],
dependencies: [
// .package(url: /* package url */, from: "1.0.0"),
],
targets: [
.target(
name: "CoreKit",
dependencies: [],
path: "./Sources/CoreKit",
exclude: excludePaths
//sources: ["main.swift"]
),
.testTarget(
name: "CoreKitTests",
dependencies: ["CoreKit"],
path: "./Tests/Sources",
exclude: excludePaths
)
]
)