commit bb60fd830939fdc7c57ddb0823abe336ced84401 Author: Javier Cicchelli Date: Wed Sep 17 18:58:25 2025 +0200 Initial Commit diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..0023a53 --- /dev/null +++ b/.gitignore @@ -0,0 +1,8 @@ +.DS_Store +/.build +/Packages +xcuserdata/ +DerivedData/ +.swiftpm/configuration/registries.json +.swiftpm/xcode/package.xcworkspace/contents.xcworkspacedata +.netrc diff --git a/Package.swift b/Package.swift new file mode 100644 index 0000000..7fb8d14 --- /dev/null +++ b/Package.swift @@ -0,0 +1,26 @@ +// swift-tools-version: 6.2 +// The swift-tools-version declares the minimum version of Swift required to build this package. + +import PackageDescription + +let package = Package( + name: "hummingbird-docc-middleware", + products: [ + // Products define the executables and libraries a package produces, making them visible to other packages. + .library( + name: "hummingbird-docc-middleware", + targets: ["hummingbird-docc-middleware"] + ), + ], + targets: [ + // Targets are the basic building blocks of a package, defining a module or a test suite. + // Targets can depend on other targets in this package and products from dependencies. + .target( + name: "hummingbird-docc-middleware" + ), + .testTarget( + name: "hummingbird-docc-middlewareTests", + dependencies: ["hummingbird-docc-middleware"] + ), + ] +) diff --git a/Sources/hummingbird-docc-middleware/hummingbird_docc_middleware.swift b/Sources/hummingbird-docc-middleware/hummingbird_docc_middleware.swift new file mode 100644 index 0000000..08b22b8 --- /dev/null +++ b/Sources/hummingbird-docc-middleware/hummingbird_docc_middleware.swift @@ -0,0 +1,2 @@ +// The Swift Programming Language +// https://docs.swift.org/swift-book diff --git a/Tests/hummingbird-docc-middlewareTests/hummingbird_docc_middlewareTests.swift b/Tests/hummingbird-docc-middlewareTests/hummingbird_docc_middlewareTests.swift new file mode 100644 index 0000000..0afb00d --- /dev/null +++ b/Tests/hummingbird-docc-middlewareTests/hummingbird_docc_middlewareTests.swift @@ -0,0 +1,6 @@ +import Testing +@testable import hummingbird_docc_middleware + +@Test func example() async throws { + // Write your test here and use APIs like `#expect(...)` to check expected conditions. +}