scripts: fix echo and add executable flag
This commit is contained in:
Regular → Executable
+2
-4
@@ -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
|
||||
|
||||
|
||||
|
||||
Regular → Executable
Reference in New Issue
Block a user