Builder, build plugins

This commit is contained in:
Dan Cryer 2014-12-04 15:48:52 +00:00
commit 633608249f
33 changed files with 170 additions and 82 deletions

View file

@ -10,6 +10,7 @@
namespace PHPCI\Plugin;
use PHPCI\Builder;
use PHPCI\Helper\Lang;
use PHPCI\Model\Build;
/**
@ -67,7 +68,7 @@ class Shell implements \PHPCI\Plugin
public function execute()
{
if (!defined('ENABLE_SHELL_PLUGIN') || !ENABLE_SHELL_PLUGIN) {
throw new \Exception('The shell plugin is not enabled.');
throw new \Exception(Lang::get('shell_not_enabled'));
}
$success = true;