Qafoo/build-commons — pull request #1 by jakobwesthoff (2012-05-09 10:12:29+00:00)
Title: More flexible task execution

Implemented a more flexible way of executing tasks.

This PR does introduce two major changes:

1. Mostly all of the extensions are now checking for the availability of the directories they are working on (eg. phpunit isn't run if no `testdir.php` is available, jslint is not run if no `srdcir.js` is available, ...).

2. Mostly all extensions can now be disabled/enabled using the property `extension-name.enabled`. (e.g. disable phpunit: `phpunit.enabled = false`)

Implementing this checking routines in a reusable way unfortunately meant to encapsulate most extensions into an ``, which creates a little bit more running overhead, but it works fine so far.