[Library] Filter library (#7)

This PR contains the work done to create the `Filter` library into the **Libraries** package, and moved the `FilterWordsUseCase` use case to it from the `Foundation` library.

Reviewed-on: rock-n-code/app-reviews#7
Co-authored-by: Javier Cicchelli <javier@rock-n-code.com>
Co-committed-by: Javier Cicchelli <javier@rock-n-code.com>
This commit was merged in pull request #7.
This commit is contained in:
2024-03-18 02:22:25 +00:00
committed by javier
parent ef6478dcc6
commit 72a8e77fc7
6 changed files with 20 additions and 42 deletions
+16
View File
@@ -12,6 +12,7 @@ let package = Package(
name: .Product.name.kit,
targets: [
.Target.feed.kit,
.Target.filter.kit,
.Target.foundation.kit,
.Target.iTunes.kit,
]
@@ -25,6 +26,13 @@ let package = Package(
],
path: "Feed/Kit"
),
.target(
name: .Target.filter.kit,
dependencies: [
.byName(name: .Target.foundation.kit),
],
path: "Filter/Kit"
),
.target(
name: .Target.foundation.kit,
path: "Foundation/Kit"
@@ -44,6 +52,13 @@ let package = Package(
],
path: "Feed/Test"
),
.testTarget(
name: .Target.filter.test,
dependencies: [
.byName(name: .Target.filter.kit),
],
path: "Filter/Test"
),
.testTarget(
name: .Target.foundation.test,
dependencies: [
@@ -73,6 +88,7 @@ private extension String {
enum Target {
static let feed = "\(String.Product.name)Feed"
static let filter = "\(String.Product.name)Filter"
static let foundation = "\(String.Product.name)Foundation"
static let iTunes = "\(String.Product.name)iTunes"
}