// swift-tools-version:4.0
import PackageDescription

let package = Package(
    name: "HandySwift",
    products: [
        .library(
            name: "HandySwift",
            targets: ["HandySwift"]
        )
    ],
    targets: [
        .target(
            name: "HandySwift",
            path: "Framework/Sources",
            exclude: [
                "Sources/SupportingFiles"
            ]
        ),
        .testTarget(
            name: "HandySwiftTests",
            dependencies: ["HandySwift"],
            path: "Tests",
            exclude: [
                "Tests/SupportingFiles"
            ]
        )
    ],
    swiftLanguageVersions: [4]
)

// swift-tools-version:4.0
import PackageDescription

let package = Package(
    name: "HandySwift",
    products: [
        .library(
            name: "HandySwift",
            targets: ["HandySwift"]
        )
    ],
    targets: [
        .target(
            name: "HandySwift",
            path: "Framework/Sources",
            exclude: [
                "Sources/SupportingFiles"
            ]
        ),
        .testTarget(
            name: "HandySwiftTests",
            dependencies: ["HandySwift"],
            path: "Tests"
        )
    ],
    swiftLanguageVersions: [4]
)

--- 
+++ 
@@ -20,7 +20,10 @@
         .testTarget(
             name: "HandySwiftTests",
             dependencies: ["HandySwift"],
-            path: "Tests"
+            path: "Tests",
+            exclude: [
+                "Tests/SupportingFiles"
+            ]
         )
     ],
     swiftLanguageVersions: [4]
Exclude supporting files from tests
