Skip to content

Commit

Permalink
Adjust SwiftLint repository and manifest (tuist#6649)
Browse files Browse the repository at this point in the history
  • Loading branch information
buresdv authored Aug 19, 2024
1 parent f76ddea commit b23f5f0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/docs/guides/develop/projects/dependencies.md
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ let package = Package(
.library(name: "Framework", targets: ["Framework"]),
],
dependencies: [
.package(url: "https://github.com/lukepistrol/SwiftLintPlugin", from: "0.55.0"),
.package(url: "https://github.com/SimplyDanny/SwiftLintPlugins", .upToNextMajor(from: "0.56.1")),
],
targets: [
.target(
Expand All @@ -203,13 +203,13 @@ import ProjectDescription
let project = Project(
name: "Framework",
packages: [
.package(url: "https://github.com/lukepistrol/SwiftLintPlugin", from: "0.55.0"),
.remote(url: "https://github.com/SimplyDanny/SwiftLintPlugins", requirement: .upToNextMajor(from: "0.56.1")),
],
targets: [
.target(
name: "Framework",
dependencies: [
.package(product: "SwiftLint", type: .plugin),
.package(product: "SwiftLintBuildToolPlugin", type: .plugin),
]
),
]
Expand Down Expand Up @@ -246,7 +246,7 @@ pod install
## Static or dynamic
Frameworks and libraries can be linked either statically or dynamically, **a choice that has significant implications for aspects like app size and boot time**. Despite its importance, this decision is often made without much consideration.
Frameworks and libraries can be linked either statically or dynamically, **a choice that has significant implications for aspects like app size and boot time**. Despite its importance, this decision is often made without much consideration.
The **general rule of thumb** is that you want as many things as possible to be statically linked in release builds to achieve fast boot times, and as many things as possible to be dynamically linked in debug builds to achieve fast iteration times.
Expand Down

0 comments on commit b23f5f0

Please sign in to comment.