Skip to content

tests: disable bzlmod for workspace-only build_file_generation example#1539

Merged
rickeylev merged 1 commit intobazel-contrib:mainfrom
rickeylev:bzlmod.build_file_generation
Nov 6, 2023
Merged

tests: disable bzlmod for workspace-only build_file_generation example#1539
rickeylev merged 1 commit intobazel-contrib:mainfrom
rickeylev:bzlmod.build_file_generation

Conversation

@rickeylev
Copy link
Copy Markdown
Collaborator

The build_file_generation example only supports workspace style builds. The bzlmod equivalent is in examples/bzlmod_build_file_generation

Work towards #1520

The build_file_generation example only supports workspace style builds.
The bzlmod equivalent is in `examples/bzlmod_build_file_generation`

Work towards bazel-contrib#1520
Copy link
Copy Markdown
Collaborator

@aignas aignas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wonder if we should just merge the examples and add a warning to the Workspace file that someone is looking at the legacy example and that bzlmod is the preferred way. This obviously can be discussed separately

@rickeylev
Copy link
Copy Markdown
Collaborator Author

Merging them is probably feasible, especially now that the bzlmod work has settled down. There are some features that are workspace only (e.g. entry points), that might make a simple consolidation harder, but we can probably figure something out there.

@rickeylev rickeylev added this pull request to the merge queue Nov 6, 2023
Merged via the queue into bazel-contrib:main with commit 19e5593 Nov 6, 2023
@rickeylev rickeylev deleted the bzlmod.build_file_generation branch November 8, 2023 01:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants