Skip to content

Commit

Permalink
Add swift-syntax 509.0.2 (#1111)
Browse files Browse the repository at this point in the history
  • Loading branch information
keith authored Nov 9, 2023
1 parent cc34ddc commit 4d80a22
Show file tree
Hide file tree
Showing 6 changed files with 40 additions and 1 deletion.
7 changes: 7 additions & 0 deletions modules/swift-syntax/509.0.2/MODULE.bazel
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
module(
name = "swift-syntax",
version = "509.0.2",
compatibility_level = 1,
)

bazel_dep(name = "rules_swift", version = "1.5.1", repo_name = "build_bazel_rules_swift")
8 changes: 8 additions & 0 deletions modules/swift-syntax/509.0.2/patches/deps.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
--- BUILD.bazel
+++ BUILD.bazel
@@ -44,4 +44,5 @@ swift_syntax_library(
name = "SwiftSyntaxMacroExpansion",
deps = [
+ ":SwiftOperators",
":SwiftSyntax",
":SwiftSyntaxMacros",
5 changes: 5 additions & 0 deletions modules/swift-syntax/509.0.2/patches/module_dot_bazel.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
--- MODULE.bazel
+++ MODULE.bazel
@@ -3 +3 @@ module(
- version = "0", # Update on release/* branches
+ version = "509.0.2",
8 changes: 8 additions & 0 deletions modules/swift-syntax/509.0.2/presubmit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
tasks:
verify_targets:
name: Verify build targets
platform: macos
build_targets:
- '@swift-syntax//...'
build_flags:
- --macos_minimum_os=12.0
10 changes: 10 additions & 0 deletions modules/swift-syntax/509.0.2/source.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"url": "https://github.com/apple/swift-syntax/archive/refs/tags/509.0.2.tar.gz",
"integrity": "sha256-GlFs80TkkQMp47oo4E9T9Fe7oj5x56SpgFFczCloXbw=",
"strip_prefix": "swift-syntax-509.0.2",
"patches": {
"deps.patch": "sha256-pHcJF+vWNqs2H8khN4tC3LcrSr0KxWY6G1Tr9m2I5V4=",
"module_dot_bazel.patch": "sha256-5XJauuNy9syIYzLW58DXy9HTjq5q0SeIMSHxt3q0GNg="
},
"patch_strip": 0
}
3 changes: 2 additions & 1 deletion modules/swift-syntax/metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@
],
"versions": [
"509.0.0",
"509.0.0.1"
"509.0.0.1",
"509.0.2"
],
"yanked_versions": {}
}

0 comments on commit 4d80a22

Please sign in to comment.