From dc9b7bc6b7eec9b7f6d6d386f9822f8fb6c481e0 Mon Sep 17 00:00:00 2001 From: Daniel Rochetti Date: Sun, 5 Nov 2023 01:25:07 -0800 Subject: [PATCH] chore: initial commit --- .gitignore | 8 ++++++++ Package.swift | 23 +++++++++++++++++++++++ Sources/FalClient/FalClient.swift | 2 ++ Tests/FalClientTests/FalClientTests.swift | 12 ++++++++++++ 4 files changed, 45 insertions(+) create mode 100644 .gitignore create mode 100644 Package.swift create mode 100644 Sources/FalClient/FalClient.swift create mode 100644 Tests/FalClientTests/FalClientTests.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..affc2a2 --- /dev/null +++ b/Package.swift @@ -0,0 +1,23 @@ +// swift-tools-version: 5.9 +// The swift-tools-version declares the minimum version of Swift required to build this package. + +import PackageDescription + +let package = Package( + name: "FalClient", + products: [ + // Products define the executables and libraries a package produces, making them visible to other packages. + .library( + name: "FalClient", + targets: ["FalClient"]), + ], + 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: "FalClient"), + .testTarget( + name: "FalClientTests", + dependencies: ["FalClient"]), + ] +) diff --git a/Sources/FalClient/FalClient.swift b/Sources/FalClient/FalClient.swift new file mode 100644 index 0000000..08b22b8 --- /dev/null +++ b/Sources/FalClient/FalClient.swift @@ -0,0 +1,2 @@ +// The Swift Programming Language +// https://docs.swift.org/swift-book diff --git a/Tests/FalClientTests/FalClientTests.swift b/Tests/FalClientTests/FalClientTests.swift new file mode 100644 index 0000000..2e04aa3 --- /dev/null +++ b/Tests/FalClientTests/FalClientTests.swift @@ -0,0 +1,12 @@ +import XCTest +@testable import FalClient + +final class FalClientTests: 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 + } +}