14 lines
320 B
Bash
Executable File
14 lines
320 B
Bash
Executable File
#!/usr/bin/env bash
|
|
set -euo pipefail
|
|
|
|
root=$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd -P)
|
|
cd "$root"
|
|
|
|
exec uv pip compile \
|
|
--universal \
|
|
--python-version 3.12 \
|
|
--generate-hashes \
|
|
--custom-compile-command "./scripts/update-docs-lock.sh" \
|
|
docs/requirements.txt \
|
|
--output-file docs/requirements.lock
|