scripts: fix echo and add executable flag
This commit is contained in:
parent
162ee76bc1
commit
7b2d680ece
6
scripts/lock.sh
Normal file → Executable file
6
scripts/lock.sh
Normal file → Executable file
@ -2,12 +2,10 @@
|
|||||||
# file: lock.sh
|
# file: lock.sh
|
||||||
# description: Lock dependencies and export requirements.
|
# description: Lock dependencies and export requirements.
|
||||||
|
|
||||||
echo "# 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.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-dev.txt
|
||||||
poetry lock
|
poetry lock
|
||||||
poetry export --without-hashes -f requirements.txt >> src/requirements.txt
|
poetry export --without-hashes -f requirements.txt >> src/requirements.txt
|
||||||
poetry export --dev --without-hashes -f requirements.txt >> src/requirements-dev.txt
|
poetry export --dev --without-hashes -f requirements.txt >> src/requirements-dev.txt
|
||||||
|
|
||||||
echo "-e src/." >> src/requirements-dev.txt
|
echo "-e src/." >> src/requirements-dev.txt
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
0
scripts/print-env.sh
Normal file → Executable file
0
scripts/print-env.sh
Normal file → Executable file
Loading…
Reference in New Issue
Block a user