This repository has been archived on 2024-06-02. You can view files and clone it, but cannot push or open issues or pull requests.
spud-py/script/lock-deps.sh

33 lines
665 B
Bash
Executable file

#!/bin/bash
echo "Generating requirements.txt..."
python -m piptools compile \
-o requirements.txt \
pyproject.toml \
--no-header
echo "Generating requirements_dev.txt..."
python -m piptools compile \
-o requirements_dev.txt \
--no-header \
--extra sast \
--extra test \
--constraint requirements.txt \
pyproject.toml
python -m piptools compile \
-o requirements_sast.txt \
--no-header \
--extra sast \
--constraint requirements.txt \
pyproject.toml
python -m piptools compile \
-o requirements_test.txt \
--no-header \
--extra test \
--constraint requirements.txt \
pyproject.toml