【发布时间】:2019-04-09 15:55:12
【问题描述】:
我有一个包含以下行的 Makefile(由 GNU Make 4.1 读取):
test-newsletter-only: php bin/phpunit src/AppBundle/Tests/Service/NewsletterFromPageServiceTest.php
...当我在 shell 中运行 make test-newsletter-only 时,我得到以下信息:
make: *** 没有规则来制作目标 'php',需要 '仅测试时事通讯'。停下来。
我已通过php -v 验证,在我运行它的环境中安装了有效的 PHP 副本。我在这里做错了什么?
【问题讨论】: