From 225028d603adc65f90fde0edc216c30e5f95b83e Mon Sep 17 00:00:00 2001 From: Bill Abt Date: Thu, 9 Nov 2017 10:44:39 -0500 Subject: [PATCH] Add support for Swift 4. --- Package@swift-4.swift | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 Package@swift-4.swift diff --git a/Package@swift-4.swift b/Package@swift-4.swift new file mode 100644 index 0000000..0493a62 --- /dev/null +++ b/Package@swift-4.swift @@ -0,0 +1,37 @@ +// swift-tools-version:4.0 +// The swift-tools-version declares the minimum version of Swift required to build this package. + +/** + * Copyright IBM Corporation 2016, 2017 + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + **/ + +import PackageDescription + +let package = Package( + name: "OpenSSL", + providers: [ + .brew(["openssl"]) + ], + products: [ + // Products define the executables and libraries produced by a package, and make them visible to other packages. + .library( + name: "OpenSSL", + targets: ["OpenSSL"] + ) + ], + targets: [ + .target(name: "OpenSSL") + ] +)