Skip to content

Commit

Permalink
chore: Implicit dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
PhilippeWeidmann committed Oct 11, 2024
1 parent 4f6b356 commit e728e99
Show file tree
Hide file tree
Showing 4 changed files with 156 additions and 42 deletions.
2 changes: 1 addition & 1 deletion .mise.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tools]
tuist = '4.28.1'
tuist = '4.29.1'
periphery = '2.21.1'
swiftformat = '0.54.5'
swiftlint = '0.57.0'
148 changes: 115 additions & 33 deletions Project.swift
Original file line number Diff line number Diff line change
Expand Up @@ -46,14 +46,35 @@ let project = Project(name: "Mail",
Constants.stripSymbolsScript
],
dependencies: [
.target(name: "MailResources"),
.target(name: "MailCore"),
.target(name: "MailCoreUI"),
.target(name: "MailResources"),
.target(name: "MailNotificationServiceExtension"),
.target(name: "MailNotificationContentExtension"),
.target(name: "MailShareExtension"),
.target(name: "MailAppIntentsExtension"),
.external(name: "Realm")
.external(name: "InfomaniakBugTracker"),
.external(name: "InfomaniakCoreCommonUI"),
.external(name: "InfomaniakCoreDB"),
.external(name: "InfomaniakCoreSwiftUI"),
.external(name: "InfomaniakCore"),
.external(name: "InfomaniakCreateAccount"),
.external(name: "InfomaniakDI"),
.external(name: "InfomaniakLogin"),
.external(name: "InfomaniakNotifications"),
.external(name: "InfomaniakOnboarding"),
.external(name: "InfomaniakRichHTMLEditor"),
.external(name: "NavigationBackport"),
.external(name: "Popovers"),
.external(name: "Realm"),
.external(name: "RealmSwift"),
.external(name: "SwiftModalPresentation"),
.external(name: "SwiftRegex"),
.external(name: "SwiftSoup"),
.external(name: "SwiftUIBackports"),
.external(name: "SwiftUIIntrospect"),
.external(name: "VersionChecker"),
.external(name: "WrappingHStack")
],
settings: .settings(base: Constants.baseSettings),
environmentVariables: [
Expand All @@ -69,9 +90,15 @@ let project = Project(name: "Mail",
sources: "MailTests/**",
dependencies: [
.target(name: "Infomaniak Mail"),
.target(name: "MailResources"),
.target(name: "MailCore"),
.target(name: "MailResources"),
.external(name: "InfomaniakCoreDB"),
.external(name: "InfomaniakCore"),
.external(name: "InfomaniakDI"),
.external(name: "InfomaniakLogin"),
.external(name: "Realm"),
.external(name: "RealmSwift"),
.external(name: "SwiftSoup")
],
settings: .settings(base: Constants.testSettings)),
.target(name: "MailUITests",
Expand All @@ -83,9 +110,8 @@ let project = Project(name: "Mail",
sources: "MailUITests/**",
dependencies: [
.target(name: "Infomaniak Mail"),
.target(name: "MailResources"),
.target(name: "MailCore"),
.external(name: "Realm")
.target(name: "MailResources")
],
settings: .settings(base: Constants.testSettings)),
.target(name: "MailShareExtension",
Expand All @@ -107,10 +133,31 @@ let project = Project(name: "Mail",
entitlements: "MailShareExtension/ShareExtension.entitlements",
scripts: [Constants.swiftlintScript],
dependencies: [
.target(name: "MailResources"),
.target(name: "MailCore"),
.target(name: "MailCoreUI"),
.external(name: "Realm")
.target(name: "MailResources"),
.external(name: "InfomaniakBugTracker"),
.external(name: "InfomaniakCoreCommonUI"),
.external(name: "InfomaniakCoreDB"),
.external(name: "InfomaniakCoreSwiftUI"),
.external(name: "InfomaniakCore"),
.external(name: "InfomaniakCreateAccount"),
.external(name: "InfomaniakDI"),
.external(name: "InfomaniakLogin"),
.external(name: "InfomaniakNotifications"),
.external(name: "InfomaniakOnboarding"),
.external(name: "InfomaniakRichHTMLEditor"),
.external(name: "NavigationBackport"),
.external(name: "Popovers"),
.external(name: "Realm"),
.external(name: "RealmSwift"),
.external(name: "SwiftModalPresentation"),
.external(name: "SwiftRegex"),
.external(name: "SwiftSoup"),
.external(name: "SwiftUIBackports"),
.external(name: "SwiftUIIntrospect"),
.external(name: "VersionChecker"),
.external(name: "WrappingHStack")
],
settings: .settings(base: Constants.baseSettings)),
.target(name: "MailNotificationServiceExtension",
Expand All @@ -131,9 +178,13 @@ let project = Project(name: "Mail",
sources: "MailNotificationServiceExtension/**",
entitlements: "MailResources/Mail.entitlements",
dependencies: [
.target(name: "MailResources"),
.target(name: "MailCore"),
.external(name: "Realm")
.target(name: "MailResources"),
.external(name: "InfomaniakCore"),
.external(name: "InfomaniakDI"),
.external(name: "InfomaniakLogin"),
.external(name: "InfomaniakNotifications"),
.external(name: "RealmSwift")
],
settings: .settings(base: Constants.baseSettings)),
.target(name: "MailNotificationContentExtension",
Expand All @@ -152,12 +203,33 @@ let project = Project(name: "Mail",
entitlements: "MailNotificationContentExtension/MailNotificationContentExtension.entitlements",
scripts: [Constants.swiftlintScript],
dependencies: [
.target(name: "MailResources"),
.target(name: "MailCore"),
.target(name: "MailCoreUI"),
.external(name: "Realm"),
.target(name: "MailResources"),
.sdk(name: "UserNotifications", type: .framework),
.sdk(name: "UserNotificationsUI", type: .framework)
.sdk(name: "UserNotificationsUI", type: .framework),
.external(name: "InfomaniakBugTracker"),
.external(name: "InfomaniakCoreCommonUI"),
.external(name: "InfomaniakCoreDB"),
.external(name: "InfomaniakCoreSwiftUI"),
.external(name: "InfomaniakCore"),
.external(name: "InfomaniakCreateAccount"),
.external(name: "InfomaniakDI"),
.external(name: "InfomaniakLogin"),
.external(name: "InfomaniakNotifications"),
.external(name: "InfomaniakOnboarding"),
.external(name: "InfomaniakRichHTMLEditor"),
.external(name: "NavigationBackport"),
.external(name: "Popovers"),
.external(name: "Realm"),
.external(name: "RealmSwift"),
.external(name: "SwiftModalPresentation"),
.external(name: "SwiftRegex"),
.external(name: "SwiftSoup"),
.external(name: "SwiftUIBackports"),
.external(name: "SwiftUIIntrospect"),
.external(name: "VersionChecker"),
.external(name: "WrappingHStack")
],
settings: .settings(base: Constants.baseSettings)),
.target(name: "MailAppIntentsExtension",
Expand All @@ -182,7 +254,7 @@ let project = Project(name: "Mail",
entitlements: "MailResources/Mail.entitlements",
dependencies: [
.target(name: "MailCore"),
.external(name: "RealmSwift"),
.external(name: "InfomaniakDI")
],
settings: .settings(base: Constants.baseSettings)),
.target(name: "MailResources",
Expand Down Expand Up @@ -210,33 +282,35 @@ let project = Project(name: "Mail",
sources: "MailCore/**",
dependencies: [
.target(name: "MailResources"),
.external(name: "Algorithms"),
.external(name: "Alamofire"),
.external(name: "Algorithms"),
.external(name: "Atlantis"),
.external(name: "InfomaniakCore"),
.external(name: "InfomaniakCoreDB"),
.external(name: "InfomaniakBugTracker"),
.external(name: "InfomaniakConcurrency"),
.external(name: "InfomaniakCoreCommonUI"),
.external(name: "InfomaniakCoreDB"),
.external(name: "InfomaniakCoreSwiftUI"),
.external(name: "InfomaniakCoreUIKit"),
.external(name: "InfomaniakLogin"),
.external(name: "InfomaniakCore"),
.external(name: "InfomaniakCreateAccount"),
.external(name: "InfomaniakDI"),
.external(name: "InfomaniakConcurrency"),
.external(name: "InfomaniakLogin"),
.external(name: "InfomaniakNotifications"),
.external(name: "InfomaniakBugTracker"),
.external(name: "InfomaniakCreateAccount"),
.external(name: "InfomaniakRichHTMLEditor"),
.external(name: "NukeUI"),
.external(name: "Nuke"),
.external(name: "RealmSwift"),
.external(name: "Realm"),
.external(name: "SwiftRegex"),
.external(name: "Nuke"),
.external(name: "NukeUI"),
.external(name: "SwiftSoup"),
.external(name: "SnackBar"),
.external(name: "SVGKit"),
.external(name: "Swifter"),
.external(name: "VersionChecker"),
.external(name: "SwiftModalPresentation"),
.external(name: "SVGKit"),
.external(name: "InfomaniakRichHTMLEditor")
.external(name: "SwiftRegex"),
.external(name: "SwiftSoup"),
.external(name: "VersionChecker")
],
settings: .settings(base: Constants.baseSettings)),
settings: .settings(base:
Constants.baseSettings.merging(["OTHER_LDFLAGS": "$(inherited) -ObjC"]))),
.target(name: "MailCoreUI",
destinations: Constants.destinations,
product: .framework,
Expand All @@ -245,15 +319,23 @@ let project = Project(name: "Mail",
infoPlist: "MailCoreUI/Info.plist",
sources: "MailCoreUI/**",
dependencies: [
.target(name: "MailResources"),
.target(name: "MailCore"),
.external(name: "SwiftUIIntrospect-Static"),
.target(name: "MailResources"),
.external(name: "InfomaniakCoreCommonUI"),
.external(name: "InfomaniakCoreSwiftUI"),
.external(name: "InfomaniakCoreUIKit"),
.external(name: "InfomaniakCore"),
.external(name: "InfomaniakDI"),
.external(name: "InfomaniakLogin"),
.external(name: "InfomaniakOnboarding"),
.external(name: "Shimmer"),
.external(name: "WrappingHStack"),
.external(name: "NavigationBackport"),
.external(name: "NukeUI"),
.external(name: "Popovers"),
.external(name: "SwiftUIBackports")
.external(name: "RealmSwift"),
.external(name: "Shimmer"),
.external(name: "SwiftUIBackports"),
.external(name: "SwiftUIIntrospect-Static"),
.external(name: "WrappingHStack"),
],
settings: .settings(base: Constants.baseSettings))
],
Expand Down
8 changes: 4 additions & 4 deletions Tuist/Package.resolved
Original file line number Diff line number Diff line change
Expand Up @@ -32,17 +32,17 @@
"kind" : "remoteSourceControl",
"location" : "https://github.com/Infomaniak/ios-bug-tracker",
"state" : {
"revision" : "02275afb3808ff01f1047bf0215326601ce177c3",
"version" : "7.0.0"
"revision" : "9618c3b593a852ef8a56d14087056b4b9927e8f1",
"version" : "7.0.1"
}
},
{
"identity" : "ios-core",
"kind" : "remoteSourceControl",
"location" : "https://github.com/Infomaniak/ios-core",
"state" : {
"revision" : "3275b3dafa41d3bf8e618b715dfac17e236f86b0",
"version" : "12.2.0"
"branch" : "transitive-dependency",
"revision" : "9df81323b8ab150702b59d9ee80fe7fdf37ef30b"
}
},
{
Expand Down
Loading

0 comments on commit e728e99

Please sign in to comment.