Skip to content

Commit

Permalink
Update Bazel deps
Browse files Browse the repository at this point in the history
  • Loading branch information
ileitch committed Dec 14, 2024
1 parent 4e041a7 commit 2f70da4
Show file tree
Hide file tree
Showing 8 changed files with 24 additions and 170 deletions.
4 changes: 2 additions & 2 deletions .mise/tasks/gen_bazel_rules.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@

PRODUCTS = {
"ArgumentParser" => "@swift_argument_parser",
"SystemPackage" => "@com_github_apple_swift-system",
"SystemPackage" => "@swift-system",
"SwiftIndexStore" => "@swift-indexstore",
"FilenameMatcher" => "@swift-filename-matcher",
"Yams" => "@yams",
"SwiftParser" => "@swift-syntax",
"SwiftSyntax" => "@swift-syntax",
"XcodeProj" => "@com_github_tuist_xcodeproj",
"XcodeProj" => "@xcodeproj",
"AEXML" => "@aexml",
}

Expand Down
17 changes: 6 additions & 11 deletions MODULE.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -15,21 +15,16 @@ bazel_dep(name = "platforms", version = "0.0.10")
bazel_dep(name = "buildifier_prebuilt", version = "7.3.1", dev_dependency = True)

# Swift dependencies
bazel_dep(name = "swift-syntax", version = "600.0.1")
bazel_dep(name = "yams", version = "5.1.3")
bazel_dep(name = "aexml", version = "4.7.0")
bazel_dep(name = "swift_argument_parser", version = "1.5.0")
bazel_dep(name = "swift-indexstore", version = "0.3.0")
bazel_dep(name = "swift-filename-matcher", version = "0.1.2")
bazel_dep(name = "swift-indexstore", version = "0.3.0")
bazel_dep(name = "swift-syntax", version = "600.0.1")
bazel_dep(name = "swift-system", version = "1.4.0")
bazel_dep(name = "pathkit", version = "1.0.1")
bazel_dep(name = "xcodeproj", version = "8.25.0")
bazel_dep(name = "yams", version = "5.1.3")

# Extensions
generated = use_extension("//bazel:extensions.bzl", "generated")
use_repo(generated, "periphery_generated")

non_module_deps = use_extension("//bazel/internal:extensions.bzl", "non_module_deps")
use_repo(
non_module_deps,
"com_github_apple_swift-system",
"com_github_kylef_pathkit",
"com_github_tuist_xcodeproj",
)
51 changes: 6 additions & 45 deletions MODULE.bazel.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 4 additions & 3 deletions Package.resolved
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"originHash" : "3ea0e89d1f3fe86c12ead60c3760805da8a51683f812784e5d6b4234cbe3a43b",
"pins" : [
{
"identity" : "aexml",
Expand Down Expand Up @@ -77,8 +78,8 @@
"kind" : "remoteSourceControl",
"location" : "https://github.com/tuist/xcodeproj",
"state" : {
"revision" : "2c495492fb6e01de5e718a0fd94e0fb28a307d4d",
"version" : "8.24.7"
"revision" : "d3df4265b8383dd56dae4b01f817d30c22e7612c",
"version" : "8.25.0"
}
},
{
Expand All @@ -91,5 +92,5 @@
}
}
],
"version" : 2
"version" : 3
}
2 changes: 1 addition & 1 deletion Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ var dependencies: [Package.Dependency] = [
dependencies.append(
.package(
url: "https://github.com/tuist/xcodeproj",
from: "8.16.0"
from: "8.25.0"
)
)
#endif
Expand Down
10 changes: 5 additions & 5 deletions Sources/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ swift_library(
"//Sources:PeripheryKit",
"//Sources:Shared",
"//Sources:SourceGraph",
"@com_github_tuist_xcodeproj//:XcodeProj",
"@xcodeproj//:XcodeProj",
],
)

Expand Down Expand Up @@ -116,8 +116,8 @@ swift_library(
deps = [
"//Sources:Extensions",
"//Sources:Logger",
"@com_github_apple_swift-system//:SystemPackage",
"@swift-filename-matcher//:FilenameMatcher",
"@swift-system//:SystemPackage",
],
)

Expand Down Expand Up @@ -161,11 +161,11 @@ swift_library(
"//Sources:Shared",
"//Sources:SourceGraph",
"@aexml//:AEXML",
"@com_github_apple_swift-system//:SystemPackage",
"@swift-filename-matcher//:FilenameMatcher",
"@swift-indexstore//:SwiftIndexStore",
"@swift-syntax//:SwiftParser",
"@swift-syntax//:SwiftSyntax",
"@swift-system//:SystemPackage",
],
)

Expand Down Expand Up @@ -253,8 +253,8 @@ swift_library(
],
module_name = "Extensions",
deps = [
"@com_github_apple_swift-system//:SystemPackage",
"@swift-filename-matcher//:FilenameMatcher",
"@swift-system//:SystemPackage",
],
)

Expand All @@ -269,8 +269,8 @@ swift_library(
"//Sources:Extensions",
"//Sources:Logger",
"//Sources:Shared",
"@com_github_apple_swift-system//:SystemPackage",
"@swift-filename-matcher//:FilenameMatcher",
"@swift-system//:SystemPackage",
"@yams//:Yams",
],
)
10 changes: 0 additions & 10 deletions bazel/internal/extensions.bzl

This file was deleted.

93 changes: 0 additions & 93 deletions bazel/internal/repositories.bzl

This file was deleted.

0 comments on commit 2f70da4

Please sign in to comment.