Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
# Xcode
#
build/
.build/
*.pbxuser
!default.pbxuser
*.mode1v3
Expand Down
24 changes: 24 additions & 0 deletions Package.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
// swift-tools-version:4.0
// The swift-tools-version declares the minimum version of Swift required to build this package.

import PackageDescription

let package = Package(
name: "Zip",
products: [.library(name: "Zip", targets: ["Zip"])],
targets: [
.target(
name: "minizip",
dependencies: [],
path: "Zip/minizip"),
.target(
name: "Zip",
dependencies: [ "minizip" ],
path: "Zip",
exclude: [ "minizip" ]),
.testTarget(
name: "ZipTests",
dependencies: [],
path: "ZipTests"),
]
)
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module minizip [system][extern_c] {
header "unzip.h"
header "zip.h"
header "../unzip.h"
header "../zip.h"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why are you updating the module map paths here? Are these necessary?

export *
}