Skip to content

Commit

Permalink
Publish cgrindel/rules_swift_package_manager@v0.12.1 (#965)
Browse files Browse the repository at this point in the history
Co-authored-by: Chuck Grindel <chuck.grindel@gmail.com>
  • Loading branch information
publish-to-bcr-bot[bot] and cgrindel authored Sep 30, 2023
1 parent 12bc5c7 commit d1b5a58
Showing 5 changed files with 101 additions and 1 deletion.
68 changes: 68 additions & 0 deletions modules/rules_swift_package_manager/0.12.1/MODULE.bazel
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
module(
name = "rules_swift_package_manager",
version = "0.12.1",
)

# MARK: - Runtime Dependencies

bazel_dep(name = "cgrindel_bazel_starlib", version = "0.18.0")
bazel_dep(name = "bazel_skylib", version = "1.4.2")
bazel_dep(
name = "rules_go",
version = "0.40.1",
repo_name = "io_bazel_rules_go",
)
bazel_dep(name = "rules_cc", version = "0.0.6")
bazel_dep(name = "platforms", version = "0.0.6")

# With bzlmod enabled, any dependencies for repositories generated by
# rules_swift_package_manager _must_ be a runtime dependency of rules_swift_package_manager.
bazel_dep(
name = "rules_swift",
version = "1.9.0",
repo_name = "build_bazel_rules_swift",
)
bazel_dep(
name = "rules_apple",
version = "2.4.0",
repo_name = "build_bazel_rules_apple",
)
bazel_dep(
name = "gazelle",
version = "0.32.0",
repo_name = "bazel_gazelle",
)

go_deps = use_extension("@bazel_gazelle//:extensions.bzl", "go_deps")
go_deps.from_file(go_mod = "//:go.mod")
use_repo(
go_deps,
"com_github_bazelbuild_buildtools",
"com_github_creasty_defaults",
"com_github_deckarep_golang_set_v2",
"com_github_stretchr_testify",
"in_gopkg_yaml_v3",
"org_golang_x_exp",
"org_golang_x_text",
)

# MARK: - Dev Dependencies

bazel_dep(
name = "rules_bazel_integration_test",
version = "0.14.1",
dev_dependency = True,
)
bazel_dep(
name = "bazel_skylib_gazelle_plugin",
version = "1.4.1",
dev_dependency = True,
)

bazel_binaries = use_extension(
"@rules_bazel_integration_test//:extensions.bzl",
"bazel_binaries",
dev_dependency = True,
)
bazel_binaries.download(version_file = "//:.bazelversion")
use_repo(bazel_binaries, "bazel_binaries")
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_swift_package_manager",
- version = "0.0.0",
+ version = "0.12.1",
)

# MARK: - Runtime Dependencies

10 changes: 10 additions & 0 deletions modules/rules_swift_package_manager/0.12.1/presubmit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
bcr_test_module:
module_path: ""
matrix:
platform: ["macos"]
tasks:
run_tests:
name: "Run test module"
platform: ${{ platform }}
test_targets:
- "//bzlmod:e2e_test"
9 changes: 9 additions & 0 deletions modules/rules_swift_package_manager/0.12.1/source.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"integrity": "sha256-zr6n4JNzY+tKSvwquDMDYSE7pdUQ32UPZgO0oP6RbfI=",
"strip_prefix": "",
"url": "https://github.com/cgrindel/rules_swift_package_manager/releases/download/v0.12.1/rules_swift_package_manager.v0.12.1.tar.gz",
"patches": {
"module_dot_bazel_version.patch": "sha256-LTt4VoBdxUq8vpNe5NHa4txHl6KUQgbkSh5zYRSxcck="
},
"patch_strip": 1
}
3 changes: 2 additions & 1 deletion modules/rules_swift_package_manager/metadata.json
Original file line number Diff line number Diff line change
@@ -23,7 +23,8 @@
"0.10.0",
"0.11.0",
"0.11.1",
"0.12.0"
"0.12.0",
"0.12.1"
],
"yanked_versions": {}
}

0 comments on commit d1b5a58

Please sign in to comment.