Comment out the first line of requirements.txt files

This commit is contained in:
Xidorn Quan
2021-01-01 19:38:59 +11:00
parent bd5f002718
commit afff3516c4
3 changed files with 4 additions and 4 deletions

View File

@@ -2,8 +2,8 @@
# file: lock.sh
# description: Lock dependencies and export requirements.
echo "THE FILE WAS GENERATED BY POETRY, DO NOT EDIT!\n\n" > src/requirements.txt
echo "THE FILE WAS GENERATED BY POETRY, DO NOT EDIT!\n\n" > src/requirements-dev.txt
echo "# THE FILE WAS GENERATED BY POETRY, DO NOT EDIT!\n\n" > src/requirements.txt
echo "# THE FILE WAS GENERATED BY POETRY, DO NOT EDIT!\n\n" > src/requirements-dev.txt
poetry lock
poetry export --without-hashes -f requirements.txt >> src/requirements.txt
poetry export --dev --without-hashes -f requirements.txt >> src/requirements-dev.txt