We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d7f2fe1 commit 59bfa43Copy full SHA for 59bfa43
python/uv/private/BUILD.bazel
@@ -97,7 +97,7 @@ bzl_library(
97
filegroup(
98
name = "lock_template",
99
srcs = select({
100
- "@platforms//os:windows": ["lock.ps1"],
+ "@platforms//os:windows": ["lock.bat"],
101
"//conditions:default": ["lock.sh"],
102
}),
103
target_compatible_with = [] if BZLMOD_ENABLED else ["@platforms//:incompatible"],
python/uv/private/lock.bat
@@ -0,0 +1,11 @@
1
+@echo off
2
+set "out={{src_out}}"
3
+
4
+if defined BUILD_WORKSPACE_DIRECTORY (
5
+ set "out=%BUILD_WORKSPACE_DIRECTORY%\%out%"
6
+) else (
7
+ copy /v "%out%" "{{bazel_out}}"
8
+ set "out={{bazel_out}}"
9
+)
10
11
+"{{uv}}" pip compile "{{args}}" --output-file "%out%" %*
python/uv/private/lock.ps1
0 commit comments