Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update bzlmod migration to mention enable_bzlmod #19574

Closed
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions site/en/external/migration.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,19 @@ your workspace root, maybe with comments like:
# See MODULE.bazel for external dependencies setup.
```

### Enable Blzmod in your bazelrc {:#enable-bzldmod}

`.bazelrc` lets you set flags that apply every time your run Bazel. To enable
Bzlmod, use the `--enable_bzlmod` flag, and apply it to the `common` command so
it applies to every command:

* **.bazelrc**

```
# Enable Bzlmod for every Bazel command
common --enable_bzlmod
```

### Specify repository name for your workspace {:#specify-repo-name}

* **WORKSPACE**
Expand Down
Loading