Set up initial structure

This commit is contained in:
Matthias Neeracher 2018-10-06 21:24:35 +02:00
parent e4acbee2a6
commit 76c24323b3
4 changed files with 20 additions and 0 deletions

1
.swift-version Normal file
View File

@ -0,0 +1 @@
4.0

19
Package.swift Normal file
View File

@ -0,0 +1,19 @@
// swift-tools-version:4.0
import PackageDescription
#if os(macOS) || os(iOS) || os(watchOS) || os(tvOS)
let dependencies: [Package.Dependency] = []
#else
let dependencies: [Package.Dependency] = [.package(url: "https://github.com/IBM-Swift/CZlib.git", .exact("0.1.2"))]
#endif
let package = Package(
name: "GzipMiddleware",
products: [
.library(name: "GzipMiddleware", targets: ["GzipMiddleware"])
],
dependencies: dependencies,
targets: [
.target(name: "GzipMiddleware"),
]
)

View File