diff --git a/.github/workflows/build-test.yml b/.github/workflows/build-test.yml index 609577c..e61d06e 100644 --- a/.github/workflows/build-test.yml +++ b/.github/workflows/build-test.yml @@ -78,7 +78,7 @@ jobs: PROFDATA_PATH=$(pwd)/$(find DerivedData -name "*.profdata") echo "Detected profdata at path: $PROFDATA_PATH" xcrun llvm-cov export \ - $(pwd)/DerivedData/Build/Products/Debug-iphonesimulator/OnLaunch-iOS-ClientTests.xctest/OnLaunch-iOS-ClientTests \ + $(pwd)/DerivedData/Build/Products/Debug-iphonesimulator/OnLaunchTests.xctest/OnLaunchTests \ --instr-profile $PROFDATA_PATH \ --format="lcov" > coverage/coverage.lcov diff --git a/.github/workflows/publish-release.yml b/.github/workflows/publish-release.yml index ed3a3b2..83011bb 100644 --- a/.github/workflows/publish-release.yml +++ b/.github/workflows/publish-release.yml @@ -22,5 +22,5 @@ jobs: repo_token: "${{ secrets.GITHUB_TOKEN }}" prerelease: false files: | - OnLaunch-iOS-Client.sha256 - OnLaunch-iOS-Client.zip + OnLaunch.sha256 + OnLaunch.zip diff --git a/.jazzy.yaml b/.jazzy.yaml index 53a3af5..6842c5c 100644 --- a/.jazzy.yaml +++ b/.jazzy.yaml @@ -1,5 +1,5 @@ # Name of module being documented. -module: OnLaunch_iOS_Client +module: OnLaunch # Folder to output the HTML docs to output: docs @@ -21,7 +21,7 @@ title: OnLaunch iOS Client # The SDK for which your code should be built. sdk: iphone # Source file pathnames to be included in documentation. Supports wildcards. -include: Sources/OnLaunch-iOS-Client/** +include: Sources/OnLaunch/** # Control whether Jazzy uses Swift Package Manager, xcodebuild, or swift-symbolgraph to build the module to be documented. # By default it uses xcodebuild if there is a .xcodeproj file in the source directory. diff --git a/Package.swift b/Package.swift index ddb1ce8..12c2887 100644 --- a/Package.swift +++ b/Package.swift @@ -8,10 +8,10 @@ let package = Package( .iOS(.v15) ], products: [ - .library(name: "OnLaunch-iOS-Client", targets: ["OnLaunch-iOS-Client"]), + .library(name: "OnLaunch", targets: ["OnLaunch"]), ], targets: [ - .target(name: "OnLaunch-iOS-Client"), - //dev .testTarget(name: "OnLaunch-iOS-ClientTests", dependencies: ["OnLaunch-iOS-Client"]), + .target(name: "OnLaunch"), + .testTarget(name: "OnLaunchTests", dependencies: ["OnLaunch"]), ] ) diff --git a/Sources/OnLaunch-iOS-Client/OnLaunch_iOS_Client.swift b/Sources/OnLaunch/OnLaunch.swift similarity index 68% rename from Sources/OnLaunch-iOS-Client/OnLaunch_iOS_Client.swift rename to Sources/OnLaunch/OnLaunch.swift index 6a379e3..555d90f 100644 --- a/Sources/OnLaunch-iOS-Client/OnLaunch_iOS_Client.swift +++ b/Sources/OnLaunch/OnLaunch.swift @@ -1,4 +1,4 @@ -public struct OnLaunch_iOS_Client { +public struct OnLaunch { public private(set) var text = "Hello, World!" public init() { diff --git a/Tests/OnLaunch-iOS-ClientTests/OnLaunch_iOS_ClientTests.swift b/Tests/OnLaunchTests/OnLaunchTests.swift similarity index 58% rename from Tests/OnLaunch-iOS-ClientTests/OnLaunch_iOS_ClientTests.swift rename to Tests/OnLaunchTests/OnLaunchTests.swift index 909230d..374f225 100644 --- a/Tests/OnLaunch-iOS-ClientTests/OnLaunch_iOS_ClientTests.swift +++ b/Tests/OnLaunchTests/OnLaunchTests.swift @@ -1,11 +1,11 @@ import XCTest -@testable import OnLaunch_iOS_Client +@testable import OnLaunch -final class OnLaunch_iOS_ClientTests: XCTestCase { +final class OnLaunchTests: XCTestCase { func testExample() throws { // This is an example of a functional test case. // Use XCTAssert and related functions to verify your tests produce the correct // results. - XCTAssertEqual(OnLaunch_iOS_Client().text, "Hello, World!") + XCTAssertEqual(OnLaunch().text, "Hello, World!") } }