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/.swiftpm/xcode/package.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/.swiftpm/xcode/package.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist new file mode 100644 index 0000000..18d9810 --- /dev/null +++ b/.swiftpm/xcode/package.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist @@ -0,0 +1,8 @@ + + + + + IDEDidComputeMac32BitWarning + + + diff --git a/Package.swift b/Package.swift new file mode 100644 index 0000000..82b93b7 --- /dev/null +++ b/Package.swift @@ -0,0 +1,23 @@ +// swift-tools-version: 5.10 +// The swift-tools-version declares the minimum version of Swift required to build this package. + +import PackageDescription + +let package = Package( + name: "CompoundPredicate", + products: [ + // Products define the executables and libraries a package produces, making them visible to other packages. + .library( + name: "CompoundPredicate", + targets: ["CompoundPredicate"]), + ], + 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: "CompoundPredicate"), + .testTarget( + name: "CompoundPredicateTests", + dependencies: ["CompoundPredicate"]), + ] +) diff --git a/Sources/CompoundPredicate/CompoundPredicate.swift b/Sources/CompoundPredicate/CompoundPredicate.swift new file mode 100644 index 0000000..08b22b8 --- /dev/null +++ b/Sources/CompoundPredicate/CompoundPredicate.swift @@ -0,0 +1,2 @@ +// The Swift Programming Language +// https://docs.swift.org/swift-book diff --git a/Tests/CompoundPredicateTests/CompoundPredicateTests.swift b/Tests/CompoundPredicateTests/CompoundPredicateTests.swift new file mode 100644 index 0000000..b630b25 --- /dev/null +++ b/Tests/CompoundPredicateTests/CompoundPredicateTests.swift @@ -0,0 +1,12 @@ +import XCTest +@testable import CompoundPredicate + +final class CompoundPredicateTests: XCTestCase { + func testExample() throws { + // XCTest Documentation + // https://developer.apple.com/documentation/xctest + + // Defining Test Cases and Test Methods + // https://developer.apple.com/documentation/xctest/defining_test_cases_and_test_methods + } +}