【发布时间】:2018-09-06 05:39:29
【问题描述】:
如何执行 Pipfile 中定义的脚本?
按照 here 找到的语法,我在我的 pipfile 中定义了脚本部分,如下所示:
[scripts]
tests = "bash ./run-tests.sh"
运行$ pipenv install后,如何调用tests脚本?
我尝试了以下方法但没有成功:
$ tests
$ pipenv tests
$ pipenv run tests
$ pipenv shell
(virtual env) $ tests
【问题讨论】: