0
有沒有辦法在tox之前運行一個命令。這裏是我想要的輪廓:tox之前的命令
[testenv:local_code]
commands =
bash -c "if [ -d "{toxinidir}/tools" ]; then \
git clone git+ssh://[email protected]/tools.git {toxinidir}/tools; \
fi"
deps =
--editable=file:///{toxinidir}/tools
不幸的是,deps在命令之前運行(我直覺地理解了爲什麼)。我想知道是否有人知道解決方法