小编Col*_*tze的帖子

执行 pipfile 脚本

如何执行 Pipfile 中定义的脚本?

按照此处找到的语法,我在 pipfile 中定义了脚本部分,如下所示:

[scripts]
tests = "bash ./run-tests.sh"
Run Code Online (Sandbox Code Playgroud)

运行后$ pipenv install,如何调用tests脚本?

我尝试了以下但没有成功:

$ tests

$ pipenv tests

$ pipenv run tests

$ pipenv shell (virtual env) $ tests

pipenv pipfile

5
推荐指数
1
解决办法
8824
查看次数

标签 统计

pipenv ×1

pipfile ×1