From 87953167fd6a6a7f5d939aae7e778c50bc1b438a Mon Sep 17 00:00:00 2001 From: NyxErinys Date: Wed, 13 Aug 2025 00:25:38 -0500 Subject: [PATCH] Initial Commit --- .gitignore | 8 +++++++ Package.swift | 24 +++++++++++++++++++ Sources/PipewireKit/PipewireKit.swift | 2 ++ Tests/PipewireKitTests/PipewireKitTests.swift | 6 +++++ 4 files changed, 40 insertions(+) create mode 100644 .gitignore create mode 100644 Package.swift create mode 100644 Sources/PipewireKit/PipewireKit.swift create mode 100644 Tests/PipewireKitTests/PipewireKitTests.swift 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..7416bf8 --- /dev/null +++ b/Package.swift @@ -0,0 +1,24 @@ +// swift-tools-version: 6.1 +// The swift-tools-version declares the minimum version of Swift required to build this package. + +import PackageDescription + +let package = Package( + name: "PipewireKit", + products: [ + // Products define the executables and libraries a package produces, making them visible to other packages. + .library( + name: "PipewireKit", + targets: ["PipewireKit"]), + ], + 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: "PipewireKit"), + .testTarget( + name: "PipewireKitTests", + dependencies: ["PipewireKit"] + ), + ] +) diff --git a/Sources/PipewireKit/PipewireKit.swift b/Sources/PipewireKit/PipewireKit.swift new file mode 100644 index 0000000..08b22b8 --- /dev/null +++ b/Sources/PipewireKit/PipewireKit.swift @@ -0,0 +1,2 @@ +// The Swift Programming Language +// https://docs.swift.org/swift-book diff --git a/Tests/PipewireKitTests/PipewireKitTests.swift b/Tests/PipewireKitTests/PipewireKitTests.swift new file mode 100644 index 0000000..cc05eed --- /dev/null +++ b/Tests/PipewireKitTests/PipewireKitTests.swift @@ -0,0 +1,6 @@ +import Testing +@testable import PipewireKit + +@Test func example() async throws { + // Write your test here and use APIs like `#expect(...)` to check expected conditions. +}