Browse Source

Set up initial structure

tags/v1.0.0
Matthias Neeracher 2 years ago
parent
commit
76c24323b3
4 changed files with 20 additions and 0 deletions
  1. +1
    -0
      .swift-version
  2. +19
    -0
      Package.swift
  3. +0
    -0
      Sources/GzipMiddleware/GzipMiddleware.swift
  4. +0
    -0
      Sources/GzipMiddleware/GzipStream.swift

+ 1
- 0
.swift-version View File

@@ -0,0 +1 @@
4.0

+ 19
- 0
Package.swift 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"),
]
)

+ 0
- 0
Sources/GzipMiddleware/GzipMiddleware.swift View File


+ 0
- 0
Sources/GzipMiddleware/GzipStream.swift View File


Loading…
Cancel
Save