API lack of phing is now a warning not an error

This commit is contained in:
Damian Mooyman 2015-09-21 11:27:09 +12:00
parent f1035f06a3
commit 8af962a65d

View File

@ -9,7 +9,12 @@
* This is inspired by SilverStripe build tools. Thanks * This is inspired by SilverStripe build tools. Thanks
* @see https://github.com/silverstripe/silverstripe-buildtools/blob/master/src/GenerateJavascriptI18nTask.php * @see https://github.com/silverstripe/silverstripe-buildtools/blob/master/src/GenerateJavascriptI18nTask.php
*/ */
require_once "phing/Task.php"; include_once "phing/Task.php";
// Ignore this file if phing is not installed
if(!class_exists('Task')) {
return;
}
class BuildTransifexTranslations extends Task class BuildTransifexTranslations extends Task
{ {