From 4358c3b405fafebf479c8f3cd1b75535895a7441 Mon Sep 17 00:00:00 2001 From: Emre Armagan Date: Sun, 5 Jan 2025 19:29:12 +0100 Subject: [PATCH] add test to dependency --- .../package.xcworkspace/contents.xcworkspacedata | 7 +++++++ Package.swift | 13 +++++++++++-- 2 files changed, 18 insertions(+), 2 deletions(-) create mode 100644 .swiftpm/xcode/package.xcworkspace/contents.xcworkspacedata 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 d3c69b2..2d69024 100644 --- a/Package.swift +++ b/Package.swift @@ -4,13 +4,22 @@ import PackageDescription let package = Package( name: "SYBanner", platforms: [ - .iOS(.v13) + .iOS(.v13) ], products: [ .library(name: "SYBanner", targets: ["SYBanner"]) ], targets: [ - .target(name: "SYBanner", dependencies: [], path: "Sources") + .target( + name: "SYBanner", + dependencies: [], + path: "Sources" + ), + .testTarget( + name: "SYBannerTests", + dependencies: ["SYBanner"], + path: "Tests" + ) ], swiftLanguageVersions: [.v5] )