Skip to content

Commit

Permalink
Add swift-syntax (#927)
Browse files Browse the repository at this point in the history
keith authored Sep 15, 2023

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent 7da0de6 commit 42f5c34
Showing 5 changed files with 46 additions and 0 deletions.
7 changes: 7 additions & 0 deletions modules/swift-syntax/509.0.0/MODULE.bazel
Original file line number Diff line number Diff line change
@@ -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")
5 changes: 5 additions & 0 deletions modules/swift-syntax/509.0.0/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.0",
8 changes: 8 additions & 0 deletions modules/swift-syntax/509.0.0/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//:SwiftSyntax'
build_flags:
- --macos_minimum_os=12.0
9 changes: 9 additions & 0 deletions modules/swift-syntax/509.0.0/source.json
Original file line number Diff line number Diff line change
@@ -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
}
17 changes: 17 additions & 0 deletions modules/swift-syntax/metadata.json
Original file line number Diff line number Diff line change
@@ -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": {}
}

0 comments on commit 42f5c34

Please sign in to comment.