4

我对德鲁什不熟悉。我正在使用 drush 创建安装配置文件。我在 drupal 7 中使用了“profiler builder”模块并获得了一个 drupal-org.make 文件。现在,当我执行 drush make drupal-org.make 文件时,drush 会抛出错误“未指定核心项目”。有人可以帮忙吗。

4

1 回答 1

4

您需要在 drush-makefile 中定义一个“核心”模块,特别是如果您使用自定义分发:

core = 7.x
api = 2

projects[l10n_install][type] = core
projects[l10n_install][version] = 1.0

如果您不指定projects[...][type] = core,则 drush make 使用最新的默认 drupal 发行版。

您可以使用选项“-v”或“-d”来调试正在运行的 drush 命令。

这是对 drush-make 的一个很好的介绍:http ://www.lullabot.com/blog/articles/drush-make-and-pressflow

如果您需要更多帮助,请提供 drush-make 文件。

于 2013-06-07T06:54:35.810 回答