You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Disable Bazel 5.4.0 integration tests while adding support for bzlmod.
- Remove nogo target. Not used and was not compiling with bzlmod
enabled.
- Add `MODULE.bazel`.
- Add `swift_deps` bzlmod extension to support generating Swift packages
from info in `swift_deps_index.json`.
- Add `bazel_package_name` attribute to `local_swift_package` and
`swift_package`. It provides the unmolested Bazel repo name for the
Swift package. In bzlmod mode, the `repository_ctx.name` value is the
canonical repo name (i.e., includes the parent repo name).
Related to cgrindel#276.
| <aid="local_swift_package-name"></a>name | A unique name for this repository. | <ahref="https://bazel.build/concepts/labels#target-names">Name</a> | required ||
31
+
| <aid="local_swift_package-bazel_package_name"></a>bazel_package_name | The short name for the Swift package's Bazel repository. | String | optional | <code>""</code> |
31
32
| <aid="local_swift_package-dependencies_index"></a>dependencies_index | A JSON file that contains a mapping of Swift products and Swift modules. | <ahref="https://bazel.build/concepts/labels">Label</a> | required ||
32
33
| <aid="local_swift_package-env"></a>env | Environment variables that will be passed to the execution environments for this repository rule. (e.g. SPM version check, SPM dependency resolution, SPM package description generation) | <ahref="https://bazel.build/rules/lib/dict">Dictionary: String -> String</a> | optional | <code>{}</code> |
33
34
| <aid="local_swift_package-path"></a>path | The path to the local Swift package directory. | String | required ||
@@ -39,9 +40,9 @@ Used to build a local Swift package.
| <aid="swift_package-name"></a>name | A unique name for this repository. | <ahref="https://bazel.build/concepts/labels#target-names">Name</a> | required ||
57
+
| <aid="swift_package-bazel_package_name"></a>bazel_package_name | The short name for the Swift package's Bazel repository. | String | optional | <code>""</code> |
56
58
| <aid="swift_package-branch"></a>branch | branch in the remote repository to checked out. Precisely one of branch, tag, or commit must be specified. | String | optional | <code>""</code> |
57
59
| <aid="swift_package-commit"></a>commit | The commit or revision to download from version control. | String | required ||
58
60
| <aid="swift_package-dependencies_index"></a>dependencies_index | A JSON file that contains a mapping of Swift products and Swift modules. | <ahref="https://bazel.build/concepts/labels">Label</a> | required ||
0 commit comments