Updated the names of the targets in Package file.
This commit is contained in:
parent
e866d1da71
commit
5f60d0f421
@ -1,4 +1,4 @@
|
||||
import AppLibrary
|
||||
import DoxyLibrary
|
||||
import ArgumentParser
|
||||
|
||||
@main
|
||||
|
@ -1,5 +1,5 @@
|
||||
import AppLibrary
|
||||
import ArgumentParser
|
||||
import DoxyLibrary
|
||||
import Logging
|
||||
|
||||
extension App {
|
||||
|
@ -3,13 +3,13 @@
|
||||
import PackageDescription
|
||||
|
||||
let package = Package(
|
||||
name: "DocCRepo",
|
||||
name: "Doxy",
|
||||
platforms: [
|
||||
.iOS(.v17),
|
||||
.macOS(.v14)
|
||||
],
|
||||
products: [
|
||||
.executable(name: "App", targets: ["App"]),
|
||||
.library(name: "AppLibrary", targets: ["AppLibrary"])
|
||||
.executable(name: "App", targets: ["DoxyApp"])
|
||||
],
|
||||
dependencies: [
|
||||
.package(url: "https://github.com/hummingbird-project/hummingbird.git", from: "2.0.0"),
|
||||
@ -17,16 +17,16 @@ let package = Package(
|
||||
],
|
||||
targets: [
|
||||
.executableTarget(
|
||||
name: "App",
|
||||
name: "DoxyApp",
|
||||
dependencies: [
|
||||
.product(name: "ArgumentParser", package: "swift-argument-parser"),
|
||||
.product(name: "Hummingbird", package: "hummingbird"),
|
||||
.target(name: "AppLibrary")
|
||||
.target(name: "DoxyLibrary")
|
||||
],
|
||||
path: "App"
|
||||
),
|
||||
.target(
|
||||
name: "AppLibrary",
|
||||
name: "DoxyLibrary",
|
||||
dependencies: [
|
||||
.product(name: "ArgumentParser", package: "swift-argument-parser"),
|
||||
.product(name: "Hummingbird", package: "hummingbird")
|
||||
@ -34,10 +34,10 @@ let package = Package(
|
||||
path: "Library"
|
||||
),
|
||||
.testTarget(
|
||||
name: "AppTests",
|
||||
name: "DoxyTests",
|
||||
dependencies: [
|
||||
.product(name: "HummingbirdTesting", package: "hummingbird"),
|
||||
.target(name: "AppLibrary")
|
||||
.target(name: "DoxyLibrary")
|
||||
],
|
||||
path: "Test"
|
||||
)
|
||||
|
@ -1,6 +1,6 @@
|
||||
import Testing
|
||||
|
||||
@testable import AppLibrary
|
||||
@testable import DoxyLibrary
|
||||
|
||||
@Suite("AssetPrefix", .tags(.enumeration))
|
||||
struct AssetPrefixTests {
|
||||
|
@ -1,6 +1,6 @@
|
||||
import Testing
|
||||
|
||||
@testable import AppLibrary
|
||||
@testable import DoxyLibrary
|
||||
|
||||
@Suite("IndexPrefix", .tags(.enumeration))
|
||||
struct IndexPrefixTests {
|
||||
|
@ -1,6 +1,6 @@
|
||||
import Testing
|
||||
|
||||
@testable import AppLibrary
|
||||
@testable import DoxyLibrary
|
||||
|
||||
@Suite("StaticFile", .tags(.enumeration))
|
||||
struct StaticFileTests {
|
||||
|
@ -2,7 +2,7 @@ import Hummingbird
|
||||
import HummingbirdTesting
|
||||
import Testing
|
||||
|
||||
@testable import AppLibrary
|
||||
@testable import DoxyLibrary
|
||||
|
||||
@Suite("DocCMiddleware", .tags(.middleware))
|
||||
struct DoccMiddlewareTests {
|
||||
|
@ -1,6 +1,6 @@
|
||||
import Testing
|
||||
|
||||
@testable import AppLibrary
|
||||
@testable import DoxyLibrary
|
||||
|
||||
@Suite("PathProvider", .tags(.provider))
|
||||
struct PathProviderTests {
|
||||
|
@ -1,4 +1,4 @@
|
||||
import AppLibrary
|
||||
import DoxyLibrary
|
||||
import Hummingbird
|
||||
import HummingbirdTesting
|
||||
import Testing
|
||||
|
@ -1,4 +1,4 @@
|
||||
import AppLibrary
|
||||
import DoxyLibrary
|
||||
import Logging
|
||||
|
||||
struct TestArguments: AppArguments {
|
||||
|
Loading…
x
Reference in New Issue
Block a user