aider/scripts/pip-compile.sh
2024-07-14 17:22:17 +01:00

18 lines
337 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; do
pip-compile \
requirements/requirements-${SUFFIX}.in \
--output-file=requirements/requirements-${SUFFIX}.txt \
$1
done