Skip to content

Commit

Permalink
Rename requirements lockfiles.
Browse files Browse the repository at this point in the history
This way, they are sorted together.
  • Loading branch information
phst committed Jan 5, 2025
1 parent 6cf5c58 commit 2222c05
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ WORKSPACE.bzlmod text eol=lf

# The hashes of the requirements files are recorded in MODULE.bazel.lock. Make
# sure that they stay intact across operating systems.
/dev/*-requirements.lock text eol=lf
/dev/requirements-*.lock text eol=lf

# Local Variables:
# tab-stop-list: (32)
Expand Down
6 changes: 3 additions & 3 deletions MODULE.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -77,9 +77,9 @@ pip = use_extension("@rules_python//python/extensions:pip.bzl", "pip", dev_depen
pip.parse(
hub_name = "pip",
python_version = "3.10",
requirements_darwin = "//dev:macos-requirements.lock",
requirements_linux = "//dev:linux-requirements.lock",
requirements_windows = "//dev:windows-requirements.lock",
requirements_darwin = "//dev:requirements-macos.lock",
requirements_linux = "//dev:requirements-linux.lock",
requirements_windows = "//dev:requirements-windows.lock",
)
use_repo(pip, pip_deps = "pip")

Expand Down
8 changes: 4 additions & 4 deletions MODULE.bazel.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions dev/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,9 @@ compile_pip_requirements(
alias(
name = "requirements_lock",
actual = select({
"@platforms//os:linux": "linux-requirements.lock",
"@platforms//os:macos": "macos-requirements.lock",
"@platforms//os:windows": "windows-requirements.lock",
"@platforms//os:linux": "requirements-linux.lock",
"@platforms//os:macos": "requirements-macos.lock",
"@platforms//os:windows": "requirements-windows.lock",
}),
)

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 2222c05

Please sign in to comment.