netzmacht/contao-build-tools

此包已废弃且不再维护。作者建议使用 phpcq/all-tasks 包。

Contao扩展开发用的开发工具集

1.1.0 2015-01-26 10:57 UTC

This package is auto-updated.

Last update: 2022-02-01 12:40:40 UTC


README

此扩展提供了Netzmacht开发项目中使用的构建工具。请勿在生产环境中使用此包。

其主要目标是使使用Contao进行开发和测试变得可能/更简单。它提供

  • Contao类加载器的替代品,从vendor/contao/core目录加载Contao类。这对于使用phpspec进行mock非常有用
  • CCABS的phpspec任务 CCABS
  • netzmacht.main.xml 来扩展默认的构建过程。它包含与 cca/build-system-all-tasks 相比的phpspec任务。它还用于确保构建过程不会因为上游 ccabs.main.xml 的更改而失败

安装

{
    "require-dev": {
        "netzmacht/contao-build-tools": "1.0.x-dev"
    }
}