-
Notifications
You must be signed in to change notification settings - Fork 357
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Needed by [email protected]. Signed-off-by: Brentley Jones <[email protected]>
- Loading branch information
1 parent
951e621
commit 5c27729
Showing
6 changed files
with
69 additions
and
1 deletion.
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,12 @@ | ||
module( | ||
name = "swift_argument_parser", | ||
version = "1.3.1.1", | ||
compatibility_level = 1, | ||
) | ||
|
||
bazel_dep(name = "apple_support", version = "1.11.1", repo_name = "build_bazel_apple_support") | ||
bazel_dep( | ||
name = "rules_swift", | ||
version = "1.16.0", | ||
max_compatibility_level = 2, | ||
) |
20 changes: 20 additions & 0 deletions
20
modules/swift_argument_parser/1.3.1.1/patches/add_build_file.patch
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,20 @@ | ||
--- /dev/null | ||
+++ BUILD.bazel | ||
@@ -0,0 +1,17 @@ | ||
+load("@rules_swift//swift:swift.bzl", "swift_library") | ||
+ | ||
+swift_library( | ||
+ name = "ArgumentParserToolInfo", | ||
+ srcs = glob(["Sources/ArgumentParserToolInfo/**/*.swift"]), | ||
+ module_name = "ArgumentParserToolInfo", | ||
+) | ||
+ | ||
+swift_library( | ||
+ name = "ArgumentParser", | ||
+ srcs = glob(["Sources/ArgumentParser/**/*.swift"]), | ||
+ module_name = "ArgumentParser", | ||
+ visibility = ["//visibility:public"], | ||
+ deps = [ | ||
+ ":ArgumentParserToolInfo", | ||
+ ], | ||
+) |
15 changes: 15 additions & 0 deletions
15
modules/swift_argument_parser/1.3.1.1/patches/module_dot_bazel.patch
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,15 @@ | ||
--- /dev/null | ||
+++ MODULE.bazel | ||
@@ -0,0 +1,12 @@ | ||
+module( | ||
+ name = "swift_argument_parser", | ||
+ version = "1.3.1.1", | ||
+ compatibility_level = 1, | ||
+) | ||
+ | ||
+bazel_dep(name = "apple_support", version = "1.11.1", repo_name = "build_bazel_apple_support") | ||
+bazel_dep( | ||
+ name = "rules_swift", | ||
+ version = "1.16.0", | ||
+ max_compatibility_level = 2, | ||
+) |
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,10 @@ | ||
tasks: | ||
verify_targets: | ||
name: Verify build targets | ||
platform: macos | ||
bazel: 7.x | ||
build_targets: | ||
- '@swift_argument_parser//:ArgumentParser' | ||
build_flags: | ||
- --macos_minimum_os=12.0 | ||
- "--repo_env=BAZEL_DO_NOT_DETECT_CPP_TOOLCHAIN=1" |
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,10 @@ | ||
{ | ||
"url": "https://github.com/apple/swift-argument-parser/archive/refs/tags/1.3.1.tar.gz", | ||
"integrity": "sha256-TZZPh0slGrwoDuKPDxh948E6YSKpVhUk9moQdoyi2Dc=", | ||
"strip_prefix": "swift-argument-parser-1.3.1", | ||
"patches": { | ||
"add_build_file.patch": "sha256-HAgMs4nrp0xoaNjEud7N2ElL7mQ5zvAmuHyvESQF86E=", | ||
"module_dot_bazel.patch": "sha256-p3SYXBmc729dSypjRCoq7TE243HB9p53/rvHImnvVXo=" | ||
}, | ||
"patch_strip": 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 |
---|---|---|
|
@@ -18,7 +18,8 @@ | |
"versions": [ | ||
"1.2.1", | ||
"1.3.0", | ||
"1.3.1" | ||
"1.3.1", | ||
"1.3.1.1" | ||
], | ||
"yanked_versions": {} | ||
} |