-
Notifications
You must be signed in to change notification settings - Fork 333
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
060f752
commit 2c529be
Showing
4 changed files
with
63 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
module( | ||
name = "sourcekitten", | ||
version = "0.34.0", | ||
compatibility_level = 1, | ||
) | ||
|
||
bazel_dep(name = "platforms", version = "0.0.6", dev_dependency = True) | ||
bazel_dep(name = "rules_swift", version = "1.5.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.1", repo_name = "sourcekitten_com_github_drmohundro_SWXMLHash") | ||
bazel_dep(name = "yams", version = "5.0.3", repo_name = "sourcekitten_com_github_jpsim_yams") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
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 | ||
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 | ||
build_targets: | ||
# TODO: Build `:sourcekitten` target when CI has Xcode 14 installed | ||
- '@sourcekitten//:SourceKittenFramework' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
"url": "https://github.com/jpsim/SourceKitten/archive/refs/tags/0.34.0.tar.gz", | ||
"integrity": "sha256-ejjeu5PvEVBPa2p3a+WYCVWR+ufhKCY3VNBBxa2o6FY=", | ||
"strip_prefix": "SourceKitten-0.34.0" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
{ | ||
"homepage": "https://github.com/jpsim/SourceKitten", | ||
"maintainers": [ | ||
{ | ||
"email": "[email protected]", | ||
"github": "jpsim", | ||
"name": "JP Simard" | ||
}, | ||
{ | ||
"email": "[email protected]", | ||
"github": "keith", | ||
"name": "Keith Smiley" | ||
} | ||
], | ||
"repository": [ | ||
"github:jpsim/SourceKitten" | ||
], | ||
"versions": [ | ||
"0.34.0" | ||
], | ||
"yanked_versions": {} | ||
} |