aider/scripts/pip-compile.sh
2024-07-14 19:34:48 +01:00

18 lines
348 B
Bash
Executable file

#!/bin/bash
# exit when any command fails
set -e
pip-compile \
requirements/requirements.in \
--output-file=requirements.txt \
$1
for SUFFIX in dev hf-embed browser playwright; do
pip-compile \
requirements/requirements-${SUFFIX}.in \
--output-file=requirements/requirements-${SUFFIX}.txt \
$1
done