Skip to content

Commit 225028d

Browse files
authored
Add support for Swift 4.
1 parent 06c1dd2 commit 225028d

1 file changed

Lines changed: 37 additions & 0 deletions

File tree

Package@swift-4.swift

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

0 commit comments

Comments
 (0)