diff --git a/modules/swift-syntax/509.0.0/MODULE.bazel b/modules/swift-syntax/509.0.0/MODULE.bazel new file mode 100644 index 00000000000..c33b107b9a1 --- /dev/null +++ b/modules/swift-syntax/509.0.0/MODULE.bazel @@ -0,0 +1,7 @@ +module( + name = "swift-syntax", + version = "509.0.0", + compatibility_level = 1, +) + +bazel_dep(name = "rules_swift", version = "1.5.1", repo_name = "build_bazel_rules_swift") diff --git a/modules/swift-syntax/509.0.0/patches/module_dot_bazel.patch b/modules/swift-syntax/509.0.0/patches/module_dot_bazel.patch new file mode 100644 index 00000000000..d3d9e117156 --- /dev/null +++ b/modules/swift-syntax/509.0.0/patches/module_dot_bazel.patch @@ -0,0 +1,5 @@ +--- MODULE.bazel ++++ MODULE.bazel +@@ -3 +3 @@ module( +- version = "0", # Update on release/* branches ++ version = "509.0.0", diff --git a/modules/swift-syntax/509.0.0/presubmit.yml b/modules/swift-syntax/509.0.0/presubmit.yml new file mode 100644 index 00000000000..33cb979c22f --- /dev/null +++ b/modules/swift-syntax/509.0.0/presubmit.yml @@ -0,0 +1,8 @@ +tasks: + verify_targets: + name: Verify build targets + platform: macos + build_targets: + - '@swift-syntax//:SwiftSyntax' + build_flags: + - --macos_minimum_os=12.0 diff --git a/modules/swift-syntax/509.0.0/source.json b/modules/swift-syntax/509.0.0/source.json new file mode 100644 index 00000000000..c5553dc5b38 --- /dev/null +++ b/modules/swift-syntax/509.0.0/source.json @@ -0,0 +1,9 @@ +{ + "url": "https://github.com/apple/swift-syntax/archive/refs/tags/509.0.0.tar.gz", + "integrity": "sha256-HN3an30klhLj111Mqo/ZU0wGIbiokKfXUkpGibzmRPE=", + "strip_prefix": "swift-syntax-509.0.0", + "patches": { + "module_dot_bazel.patch": "sha256-FOmA4CitYq/ZSiiDDPOb3m03mSQwlVCpNQfWfjRcv/U=" + }, + "patch_strip": 0 +} diff --git a/modules/swift-syntax/metadata.json b/modules/swift-syntax/metadata.json new file mode 100644 index 00000000000..9eb8f280feb --- /dev/null +++ b/modules/swift-syntax/metadata.json @@ -0,0 +1,17 @@ +{ + "homepage": "https://github.com/apple/swift-syntax", + "maintainers": [ + { + "email": "keithbsmiley@gmail.com", + "github": "keith", + "name": "Keith Smiley" + } + ], + "repository": [ + "github:apple/swift-syntax" + ], + "versions": [ + "509.0.0" + ], + "yanked_versions": {} +}