mirror of
https://github.com/joomla-extensions/weblinks.git
synced 2024-06-09 09:42:24 +00:00
output message to delete the weblinks installation manually
This commit is contained in:
parent
35840637b8
commit
36f2d2c048
11
RoboFile.php
11
RoboFile.php
|
@ -172,7 +172,16 @@ class RoboFile extends \Robo\Tasks
|
|||
// Get Joomla Clean Testing sites
|
||||
if (is_dir('tests/joomla-cms3'))
|
||||
{
|
||||
$this->taskDeleteDir('tests/joomla-cms3')->run();
|
||||
try
|
||||
{
|
||||
$this->taskDeleteDir('tests/joomla-cms3')->run();
|
||||
}
|
||||
catch (Exception $e)
|
||||
{
|
||||
// Sorry, we tried :(
|
||||
$this->say('Sorry, you will have to delete ' . realpath(dirname(__FILE__) . '/tests/joomla-cms3'). ' manually. ');
|
||||
exit(1);
|
||||
}
|
||||
}
|
||||
|
||||
$this->_exec('git' . $this->extension . ' clone -b staging --single-branch --depth 1 https://github.com/joomla/joomla-cms.git tests/joomla-cms3');
|
||||
|
|
Loading…
Reference in New Issue
Block a user