Builder, build plugins
This commit is contained in:
parent
3e6b8adda7
commit
633608249f
33 changed files with 170 additions and 82 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue