33 lines
665 B
Bash
Executable file
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
|