Set up initial structure
This commit is contained in:
parent
e4acbee2a6
commit
76c24323b3
1
.swift-version
Normal file
1
.swift-version
Normal file
|
@ -0,0 +1 @@
|
|||
4.0
|
19
Package.swift
Normal file
19
Package.swift
Normal 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"),
|
||||
]
|
||||
)
|
0
Sources/GzipMiddleware/GzipMiddleware.swift
Normal file
0
Sources/GzipMiddleware/GzipMiddleware.swift
Normal file
0
Sources/GzipMiddleware/GzipStream.swift
Normal file
0
Sources/GzipMiddleware/GzipStream.swift
Normal file
Loading…
Reference in New Issue
Block a user