Skip to content

Commit cc8c38a

Browse files
committed
attempt to improve the ps1 script
1 parent 3ba60ff commit cc8c38a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

python/uv/private/lock.ps1

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
$out=replace
1+
$out="{{src_out}}"
22
if [[ -n "$env:BUILD_WORKSPACE_DIRECTORY" ]]; then
33
$out="$env:BUILD_WORKSPACE_DIRECTORY\$out"
44
else
5-
Copy-Item "$out" "bazel_out"
6-
out="bazel_out"
5+
Copy-Item "$out" "{{bazel_out}}"
6+
out="{{bazel_out}}"
77
fi
8-
& uv pip compile --output-file "$out" $args
8+
& "{{uv}}" pip compile "{{args}}" --output-file "$out" $args

0 commit comments

Comments
 (0)