Skip to content

Commit df6cabd

Browse files
committed
Add a separate 5.7 Package.swift to please Xcode
Doesn't work w/ 5.7.
1 parent c68313c commit df6cabd

File tree

2 files changed

+27
-1
lines changed

2 files changed

+27
-1
lines changed

Package.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// swift-tools-version:5.7
1+
// swift-tools-version:5.6
22

33
import PackageDescription
44

Package@swift-5.7.swift

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
// swift-tools-version:5.7
2+
3+
import PackageDescription
4+
5+
var package = Package(
6+
name: "Northwind",
7+
8+
platforms: [ .macOS(.v10_15), .iOS(.v13) ],
9+
products: [
10+
.library(name: "Northwind", targets: [ "Northwind" ])
11+
],
12+
13+
dependencies: [
14+
.package(url: "git@github.com:55DB091A-8471-447B-8F50-5DFF4C1B14AC/Lighter.git",
15+
branch: "develop"),
16+
.package(url: "https://github.com/apple/swift-docc-plugin", from: "1.0.0")
17+
],
18+
19+
targets: [
20+
.target(name : "Northwind",
21+
dependencies : [ "Lighter" ],
22+
path : "dist",
23+
resources : [ .copy("northwind.db") ],
24+
plugins : [ .plugin(name: "Enlighter", package: "Lighter") ])
25+
]
26+
)

0 commit comments

Comments
 (0)