Skip to content

Commit

Permalink
rename Features to AppFeature
Browse files Browse the repository at this point in the history
  • Loading branch information
ski-u committed May 4, 2024
1 parent 2039320 commit c5ed4b8
Show file tree
Hide file tree
Showing 8 changed files with 22 additions and 22 deletions.
14 changes: 7 additions & 7 deletions AllTests.xctestplan
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,6 @@
"name" : "APIClientTests"
}
},
{
"target" : {
"containerPath" : "container:Features",
"identifier" : "FeaturesTests",
"name" : "FeaturesTests"
}
},
{
"target" : {
"containerPath" : "container:Features",
Expand All @@ -46,6 +39,13 @@
"identifier" : "ModelsTests",
"name" : "ModelsTests"
}
},
{
"target" : {
"containerPath" : "container:Features",
"identifier" : "AppFeatureTests",
"name" : "AppFeatureTests"
}
}
],
"version" : 1
Expand Down
2 changes: 1 addition & 1 deletion App/NASAClientApp.swift
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Features
import AppFeature
import SwiftUI

@main
Expand Down
10 changes: 5 additions & 5 deletions Features/Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ let package = Package(
targets: ["APIClient"]
),
.library(
name: "Features",
targets: ["Features"]
name: "AppFeature",
targets: ["AppFeature"]
),
.library(
name: "Models",
Expand Down Expand Up @@ -45,15 +45,15 @@ let package = Package(
dependencies: ["APIClient"]
),
.target(
name: "Features",
name: "AppFeature",
dependencies: [
"Settings",
"Today",
]
),
.testTarget(
name: "FeaturesTests",
dependencies: ["Features"]
name: "AppFeatureTests",
dependencies: ["AppFeature"]
),
.target(
name: "Models",
Expand Down
File renamed without changes.
File renamed without changes.
4 changes: 4 additions & 0 deletions Features/Tests/AppFeatureTests/AppFeatureTests.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
@testable import AppFeature
import XCTest

final class AppFeatureTests: XCTestCase {}
4 changes: 0 additions & 4 deletions Features/Tests/FeaturesTests/FeaturesTests.swift

This file was deleted.

10 changes: 5 additions & 5 deletions NASAClient.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
021A57BB269C141100A55AC1 /* NASAClientApp.swift in Sources */ = {isa = PBXBuildFile; fileRef = 021A57BA269C141100A55AC1 /* NASAClientApp.swift */; };
021A57BF269C141200A55AC1 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 021A57BE269C141200A55AC1 /* Assets.xcassets */; };
021A57C2269C141200A55AC1 /* Preview Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 021A57C1269C141200A55AC1 /* Preview Assets.xcassets */; };
02BD2B382A28EDA000141B4F /* Features in Frameworks */ = {isa = PBXBuildFile; productRef = 02BD2B372A28EDA000141B4F /* Features */; };
02B730152BE5FE3500DFEB10 /* AppFeature in Frameworks */ = {isa = PBXBuildFile; productRef = 02B730142BE5FE3500DFEB10 /* AppFeature */; };
/* End PBXBuildFile section */

/* Begin PBXFileReference section */
Expand All @@ -28,7 +28,7 @@
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
02BD2B382A28EDA000141B4F /* Features in Frameworks */,
02B730152BE5FE3500DFEB10 /* AppFeature in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
Expand Down Expand Up @@ -97,7 +97,7 @@
);
name = NASAClient;
packageProductDependencies = (
02BD2B372A28EDA000141B4F /* Features */,
02B730142BE5FE3500DFEB10 /* AppFeature */,
);
productName = NASAClient;
productReference = 021A57B7269C141100A55AC1 /* NASAClient.app */;
Expand Down Expand Up @@ -362,9 +362,9 @@
/* End XCConfigurationList section */

/* Begin XCSwiftPackageProductDependency section */
02BD2B372A28EDA000141B4F /* Features */ = {
02B730142BE5FE3500DFEB10 /* AppFeature */ = {
isa = XCSwiftPackageProductDependency;
productName = Features;
productName = AppFeature;
};
/* End XCSwiftPackageProductDependency section */
};
Expand Down

0 comments on commit c5ed4b8

Please sign in to comment.