Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sourcekitten@0.35.0 #1950

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions modules/sourcekitten/0.35.0/MODULE.bazel
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
module(
name = "sourcekitten",
version = "0.35.0",
compatibility_level = 1,
)

bazel_dep(name = "platforms", version = "0.0.8", dev_dependency = True)
bazel_dep(name = "apple_support", version = "1.11.1", repo_name = "build_bazel_apple_support")
bazel_dep(name = "rules_swift", version = "1.15.1", repo_name = "build_bazel_rules_swift")
bazel_dep(name = "swift_argument_parser", version = "1.2.1", repo_name = "sourcekitten_com_github_apple_swift_argument_parser")
bazel_dep(name = "swxmlhash", version = "7.0.2", repo_name = "sourcekitten_com_github_drmohundro_SWXMLHash")
bazel_dep(name = "yams", version = "5.0.6", repo_name = "sourcekitten_com_github_jpsim_yams")

apple_cc_configure = use_extension("@build_bazel_apple_support//crosstool:setup.bzl", "apple_cc_configure_extension")
use_repo(apple_cc_configure, "local_config_apple_cc")
26 changes: 26 additions & 0 deletions modules/sourcekitten/0.35.0/presubmit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
shell_commands: &shell_commands
- "echo --- Downloading and extracting Swift $SWIFT_VERSION to $SWIFT_HOME"
- "mkdir $SWIFT_HOME"
- "curl https://download.swift.org/swift-${SWIFT_VERSION}-release/ubuntu2004/swift-${SWIFT_VERSION}-RELEASE/swift-${SWIFT_VERSION}-RELEASE-ubuntu20.04.tar.gz | tar xvz --strip-components=1 -C $SWIFT_HOME"

tasks:
verify_targets_linux:
name: Verify targets (Linux)
platform: ubuntu2004
bazel: 7.0.0
environment:
CC: "clang"
SWIFT_VERSION: "5.7.2"
SWIFT_HOME: "$HOME/swift-$SWIFT_VERSION"
PATH: "$PATH:$SWIFT_HOME/usr/bin"
shell_commands: *shell_commands
build_flags:
- "--action_env=PATH"
build_targets:
- '@sourcekitten//:sourcekitten'
verify_targets_macos:
name: Verify targets (macOS)
platform: macos
bazel: 7.0.0
build_targets:
- '@sourcekitten//:sourcekitten'
5 changes: 5 additions & 0 deletions modules/sourcekitten/0.35.0/source.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"url": "https://github.com/jpsim/SourceKitten/releases/download/0.35.0/SourceKitten-0.35.0.tar.gz",
"integrity": "sha256-2cVZFm8BYngmUFsOZVtWpZ+Gk4OJ4XOSWebOScn9lfA=",
"strip_prefix": "SourceKitten-0.35.0"
}
3 changes: 2 additions & 1 deletion modules/sourcekitten/metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@
],
"versions": [
"0.34.0",
"0.34.1"
"0.34.1",
"0.35.0"
],
"yanked_versions": {}
}
Loading