Skip to content

Commit

Permalink
Update format.
Browse files Browse the repository at this point in the history
  • Loading branch information
rismay committed Jul 23, 2024
1 parent 1e38f41 commit dce21eb
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 9 deletions.
18 changes: 10 additions & 8 deletions Package.swift
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// PACKAGE_SERVICE_START_V1_HASH:11db95e66d1d051f39a41c1771338342df0a7cc72f7d2f46d33fa2b1041d7f53
import Foundation
// swift-tools-version:5.10
import PackageDescription

Expand All @@ -14,26 +16,26 @@ let package = Package(
.watchOS(.v9),
],
products: [
.library(name: "WrkstrmMain", targets: ["WrkstrmMain"]),
.library(name: "WrkstrmMain", targets: ["WrkstrmMain"])
],
dependencies: [
.package(url: "https://github.com/apple/swift-testing.git", from: "0.10.0"),
.package(url: "https://github.com/apple/swift-testing.git", from: "0.10.0")
],
targets: [
.target(
name: "WrkstrmMain",
swiftSettings: Package.Service.inject.swiftSettings),
swiftSettings: Package.Service.inject.swiftSettings
),
.testTarget(
name: "WrkstrmMainTests",
dependencies: [
"WrkstrmMain",
.product(name: "Testing", package: "swift-testing"),
],
swiftSettings: Package.Service.inject.swiftSettings),
])

// PACKAGE_SERVICE_START_V1_HASH:11db95e66d1d051f39a41c1771338342df0a7cc72f7d2f46d33fa2b1041d7f53
import Foundation
swiftSettings: Package.Service.inject.swiftSettings
),
]
)

// MARK: - Package Service

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ extension CommandLine {
/// An array of substrings derived from splitting the first command-line argument by the "/"
/// separator.
/// This representation is useful for extracting the executable name and path.
static let splitArguments: [String.SubSequence] = arguments[0].split(separator: "/")
internal static let splitArguments: [String.SubSequence] = arguments[0].split(separator: "/")

/// Returns the executable name of the current process.
///
Expand Down

0 comments on commit dce21eb

Please sign in to comment.