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
9b432df
commit e7b3fad
Showing
5 changed files
with
66 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,31 @@ | ||
module( | ||
name = "rules_apple", | ||
version = "3.4.0", | ||
bazel_compatibility = [">=6.0.0"], | ||
compatibility_level = 1, | ||
repo_name = "build_bazel_rules_apple", | ||
) | ||
|
||
bazel_dep(name = "apple_support", version = "1.14.0", repo_name = "build_bazel_apple_support") | ||
bazel_dep(name = "bazel_skylib", version = "1.3.0") | ||
bazel_dep(name = "platforms", version = "0.0.7") | ||
bazel_dep(name = "rules_swift", version = "1.17.0", repo_name = "build_bazel_rules_swift") | ||
|
||
bazel_dep( | ||
name = "stardoc", | ||
version = "0.6.2", | ||
dev_dependency = True, | ||
repo_name = "io_bazel_stardoc", | ||
) | ||
|
||
non_module_deps = use_extension("//apple:extensions.bzl", "non_module_deps") | ||
use_repo( | ||
non_module_deps, | ||
"xctestrunner", | ||
) | ||
|
||
provisioning_profile_repository = use_extension("//apple:apple.bzl", "provisioning_profile_repository_extension") | ||
use_repo(provisioning_profile_repository, "local_provisioning_profiles") | ||
|
||
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") |
12 changes: 12 additions & 0 deletions
12
modules/rules_apple/3.4.0/patches/module_dot_bazel_version.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,12 @@ | ||
=================================================================== | ||
--- a/MODULE.bazel | ||
+++ b/MODULE.bazel | ||
@@ -1,7 +1,7 @@ | ||
module( | ||
name = "rules_apple", | ||
- version = "0", | ||
+ version = "3.4.0", | ||
bazel_compatibility = [">=6.0.0"], | ||
compatibility_level = 1, | ||
repo_name = "build_bazel_rules_apple", | ||
) |
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 @@ | ||
matrix: | ||
bazel: ["7.x", "rolling"] | ||
|
||
tasks: | ||
verify_targets: | ||
name: Verify build targets | ||
platform: macos_arm64 | ||
bazel: ${{ bazel }} | ||
test_targets: | ||
- '@rules_apple//examples/macos/CommandLine:ExamplesBuildTest' | ||
test_flags: | ||
- "--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,9 @@ | ||
{ | ||
"integrity": "sha256-7UMqLVkpRSdIvVOk/55lLyMyKD6z1/+tbLY6q5agYwE=", | ||
"strip_prefix": "", | ||
"url": "https://github.com/bazelbuild/rules_apple/releases/download/3.4.0/rules_apple.3.4.0.tar.gz", | ||
"patches": { | ||
"module_dot_bazel_version.patch": "sha256-fW0+D+y0075SOfLjvKBA7IA0LxgeZHIWw4yxTEc2aMg=" | ||
}, | ||
"patch_strip": 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 |
---|---|---|
|
@@ -46,7 +46,8 @@ | |
"3.1.1", | ||
"3.2.0", | ||
"3.2.1", | ||
"3.3.0" | ||
"3.3.0", | ||
"3.4.0" | ||
], | ||
"yanked_versions": {} | ||
} |