File tree Expand file tree Collapse file tree 4 files changed +40
-0
lines changed
Expand file tree Collapse file tree 4 files changed +40
-0
lines changed Original file line number Diff line number Diff line change 1+ .DS_Store
2+ /.build
3+ /Packages
4+ xcuserdata /
5+ DerivedData /
6+ .swiftpm /configuration /registries.json
7+ .swiftpm /xcode /package.xcworkspace /contents.xcworkspacedata
8+ .netrc
Original file line number Diff line number Diff line change 1+ // swift-tools-version: 6.0
2+ // The swift-tools-version declares the minimum version of Swift required to build this package.
3+
4+ import PackageDescription
5+
6+ let package = Package (
7+ name: " StringForge " ,
8+ products: [
9+ // Products define the executables and libraries a package produces, making them visible to other packages.
10+ . library(
11+ name: " StringForge " ,
12+ targets: [ " StringForge " ] ) ,
13+ ] ,
14+ targets: [
15+ // Targets are the basic building blocks of a package, defining a module or a test suite.
16+ // Targets can depend on other targets in this package and products from dependencies.
17+ . target(
18+ name: " StringForge " ) ,
19+ . testTarget(
20+ name: " StringForgeTests " ,
21+ dependencies: [ " StringForge " ]
22+ ) ,
23+ ]
24+ )
Original file line number Diff line number Diff line change 1+ // The Swift Programming Language
2+ // https://docs.swift.org/swift-book
Original file line number Diff line number Diff line change 1+ import Testing
2+ @testable import StringForge
3+
4+ @Test func example( ) async throws {
5+ // Write your test here and use APIs like `#expect(...)` to check expected conditions.
6+ }
You can’t perform that action at this time.
0 commit comments