Старый postinstall
This commit is contained in:
commit
4337a3f94e
349 changed files with 21945 additions and 0 deletions
15
run_with_poetry_root.sh
Normal file
15
run_with_poetry_root.sh
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
#!/bin/bash
|
||||
|
||||
# Перейти в директорию проекта
|
||||
cd "${WORKSPACE_FOLDER}"
|
||||
|
||||
# Запустить Poetry shell
|
||||
sudo poetry shell <<EOF
|
||||
|
||||
# Запустить Python-скрипт
|
||||
python "${WORKSPACE_FOLDER}/postinstall/__init__.py"
|
||||
|
||||
# Выйти из Poetry shell
|
||||
exit
|
||||
|
||||
EOF
|
||||
Loading…
Add table
Add a link
Reference in a new issue