Commit Graph

6 Commits

Author SHA1 Message Date
1f96a271cb Add Swift Package Manager support
Add Package.swift with three products: GCDWebServer (core),
GCDWebUploader, and GCDWebDAVServer.

Public headers live across Core/Requests/Responses subdirectories, which
SPM cannot expose directly. To support SPM without moving any files
(keeping the Xcode project and CocoaPods builds intact), public headers
are surfaced through symlinks in include/ directories with a hand-written
umbrella-directory module map; the private GCDWebServerPrivate.h is left
unlinked so it stays out of the public module.

GCDWebUploader.bundle is shipped as a .copy resource and located at
runtime via SWIFTPM_MODULE_BUNDLE under a #if SWIFT_PACKAGE branch.

Verified: swift build (all targets), Swift module imports, Xcode
framework build, and the XCTest suite all pass.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-08 15:55:49 +07:00
e8c872b286 Use local "build" directory for Run-Tests.sh 2019-01-03 15:58:43 -08:00
03a0ac32ee Added Carthage support 2015-06-15 00:28:11 -07:00
1b6e4f6491 #35 First pass at unit tests 2014-04-10 20:22:44 -07:00
2e587919ca Cleaned up .gitignore 2013-12-29 20:56:58 -08:00
9c2d7bbeb1 Initial commit 2012-12-29 10:22:35 -08:00