Skip to content

Commit

Permalink
refactor: renamed module OnLaunch-iOS-Client to OnLaunch (#8)
Browse files Browse the repository at this point in the history
  • Loading branch information
philprime authored Jan 13, 2023
1 parent 347b90e commit 29839e8
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/publish-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
4 changes: 2 additions & 2 deletions .jazzy.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Name of module being documented.
module: OnLaunch_iOS_Client
module: OnLaunch
# Folder to output the HTML docs to
output: docs

Expand All @@ -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.
Expand Down
6 changes: 3 additions & 3 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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"]),
]
)
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
public struct OnLaunch_iOS_Client {
public struct OnLaunch {
public private(set) var text = "Hello, World!"

public init() {
Expand Down
Original file line number Diff line number Diff line change
@@ -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!")
}
}

0 comments on commit 29839e8

Please sign in to comment.