Skip to content

Commit b41f430

Browse files
committed
Fix warnings and failures on Swift 4
1 parent b0b655e commit b41f430

File tree

3 files changed

+394
-328
lines changed

3 files changed

+394
-328
lines changed

Package@swift-4.0.swift

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
// swift-tools-version:4.0
2+
// The swift-tools-version declares the minimum version of Swift required to build this package.
3+
/**
4+
* Copyright IBM Corporation 2016, 2017
5+
*
6+
* Licensed under the Apache License, Version 2.0 (the "License");
7+
* you may not use this file except in compliance with the License.
8+
* You may obtain a copy of the License at
9+
*
10+
* http://www.apache.org/licenses/LICENSE-2.0
11+
*
12+
* Unless required by applicable law or agreed to in writing, software
13+
* distributed under the License is distributed on an "AS IS" BASIS,
14+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15+
* See the License for the specific language governing permissions and
16+
* limitations under the License.
17+
**/
18+
19+
import PackageDescription
20+
21+
let package = Package(
22+
name: "SwiftyJSON",
23+
products: [
24+
// Products define the executables and libraries produced by a package, and make them visible to other packages.
25+
.library(
26+
name: "SwiftyJSON",
27+
targets: ["SwiftyJSON"]
28+
)
29+
],
30+
dependencies: [],
31+
targets: [
32+
// Targets are the basic building blocks of a package. A target can define a module or a test suite.
33+
// Targets can depend on other targets in this package, and on products in packages which this package depends on.
34+
.target(
35+
name: "SwiftyJSON",
36+
dependencies: []
37+
),
38+
.testTarget(
39+
name: "SwiftyJSONTests",
40+
dependencies: ["SwiftyJSON"]
41+
)
42+
]
43+
)

0 commit comments

Comments
 (0)