contao-community-alliance / build-system
CCABS base system.
Suggests
- contao-community-alliance/build-system-tool-author-validation: Enable the author-validation task (suggested version: ~1.0)
- contao-community-alliance/build-system-tool-branch-alias-validation: Enable the branch-alias-validation task (suggested version: ~1.0)
- contao-community-alliance/build-system-tool-travis-configuration-check: Enable the travis-configuration-check task (suggested version: ~1.0)
- pdepend/pdepend: Enable the pdepend task (suggested version: ~2.0)
- phploc/phploc: Enable the phploc task (suggested version: ~2.0)
- phpmd/phpmd: Enable the phpmd task (suggested version: ~2.0)
- phpunit/phpunit: Enable the phpunit task (suggested version: ~3.7).
- sebastian/phpcpd: Enable the phpcpd task (suggested version: ~1.4).
- squizlabs/php_codesniffer: Enable the phpcs task (suggested version: ~1.0)
This package is not auto-updated.
Last update: 2022-02-01 12:39:31 UTC
README
Contao Community Alliance Build System
This is the build process used in all projects by the Contao Community alliance.
It provides a generalized build process based upon ant tasks.
This is useful to ensure that no branch alias is "behind" the most recent tag on the given branch for the alias.
Usage
Add to composer.json
Add to your composer.json
in the require-dev
section:
"contao-community-alliance/build-system": "~1.0"
You will also have to specify the dependencies of the various tasks, refer to the documentation.
Define your build.
A good starting point is to copy the file example/build.xml and example/build.default.properties to your project root.
If you want to start from scratch, you need at least a build.xml
file in your repository with at the following
content:
<?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>
If you want to use our default settings, you are all set.
Customize the build process.
Refer to the documentation