scripts: fix echo and add executable flag

This commit is contained in:
marzzzello 2021-12-11 00:32:04 +01:00
parent 162ee76bc1
commit 7b2d680ece
2 changed files with 2 additions and 4 deletions

6
scripts/lock.sh Normal file → Executable file
View File

@ -2,12 +2,10 @@
# 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 -e "# THE FILE WAS GENERATED BY POETRY, DO NOT EDIT!\n\n" > src/requirements.txt
echo -e "# 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
echo "-e src/." >> src/requirements-dev.txt

0
scripts/print-env.sh Normal file → Executable file
View File