diff --git a/.swiftpm/xcode/package.xcworkspace/contents.xcworkspacedata b/.swiftpm/xcode/package.xcworkspace/contents.xcworkspacedata new file mode 100644 index 0000000..919434a --- /dev/null +++ b/.swiftpm/xcode/package.xcworkspace/contents.xcworkspacedata @@ -0,0 +1,7 @@ + + + + + diff --git a/Package.swift b/Package.swift index c2edaa2..03f18ec 100644 --- a/Package.swift +++ b/Package.swift @@ -1,8 +1,20 @@ -import PackageDescription +// swift-tools-version: 5.8 +// The swift-tools-version declares the minimum version of Swift required to build this package. +import PackageDescription let package = Package( name: "SidebarOverlay", - dependencies : [], - exclude: ["Tests"] + products: [ + // Products define the executables and libraries a package produces, making them visible to other packages. + .library( + name: "SidebarOverlay", + targets: ["SidebarOverlay"]), + ], + 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: "SidebarOverlay"), + ] ) diff --git a/Sources/SidebarOverlay/SidebarOverlay.swift b/Sources/SidebarOverlay/SidebarOverlay.swift new file mode 100644 index 0000000..08b22b8 --- /dev/null +++ b/Sources/SidebarOverlay/SidebarOverlay.swift @@ -0,0 +1,2 @@ +// The Swift Programming Language +// https://docs.swift.org/swift-book