如何执行 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