Skip to content

bzlmod#387

Merged
purkhusid merged 31 commits intomasterfrom
bzlmod
Nov 17, 2023
Merged

bzlmod#387
purkhusid merged 31 commits intomasterfrom
bzlmod

Conversation

@purkhusid
Copy link
Copy Markdown
Collaborator

@purkhusid purkhusid commented Sep 26, 2023

Adds Bzlmod support to the rules.

Some breaking changes:

  • Requires Bazel 7 due to various fixes that are not in 6 that are required for bzlmod to work properly
  • Users will have to regenerate paket2bazel files. If they were using multiple dependency groups they will now be split up into multiple files.

dotnet/defs.bzl Outdated
"@rules_dotnet//dotnet/private:macos-arm64": "osx-arm64",
"@rules_dotnet//dotnet/private:windows-x64": "win-x64",
"@rules_dotnet//dotnet/private:windows-arm64": "win-arm64",
"//dotnet/private:linux-x64": "linux-x64",
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Here and everywhere below, repo-relative labels in macros should be wrapped in Label(...). Otherwise they will be interpreted relative to the BUILD file that is ultimately using them, which is likely not in @rules_dotnet.

@purkhusid purkhusid merged commit c698c28 into master Nov 17, 2023
@purkhusid purkhusid deleted the bzlmod branch November 17, 2023 00:54
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