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

CCABS 基础系统。

1.0.0 2014-12-04 09:31 UTC

This package is not auto-updated.

Last update: 2022-02-01 12:39:31 UTC


README

Version License Downloads

Contao 社区联盟构建系统

这是 Contao 社区联盟所有项目中使用的构建过程。

它基于 ant 任务提供了一个通用的构建过程。

这有助于确保没有分支别名落后于给定分支的最新标签。

使用方法

添加到 composer.json

composer.jsonrequire-dev 部分中添加

"contao-community-alliance/build-system": "~1.0"

您还需要指定各种任务的依赖项,请参阅文档。

定义您的构建

一个好的起点是将文件 example/build.xmlexample/build.default.properties 复制到您的项目根目录。

如果您想从头开始,您至少需要在您的存储库中有一个包含以下内容的 build.xml 文件

<?xml version="1.0" encoding="UTF-8"?>
<project name="my-project" default="build" description="Automated build of my project">
    <!-- import the main build system -->
    <import file="vendor/contao-community-alliance/build-system/ccabs.main.xml" />
</project>

如果您想使用我们的默认设置,您已准备好。

自定义构建过程

请参阅 文档