30
1
mirror of https://github.com/joomla-extensions/weblinks.git synced 2024-06-01 14:00:51 +00:00

output message to delete the weblinks installation manually

This commit is contained in:
Daniel Dimitrov 2015-10-31 11:09:22 +01:00
parent dbcb20bff7
commit c41b53afd8

View File

@ -177,9 +177,18 @@ class RoboFile extends \Robo\Tasks
// Get Joomla Clean Testing sites
if (is_dir($this->cmsPath))
{
try
{
$this->taskDeleteDir($this->cmsPath)->run();
}
catch (Exception $e)
{
// Sorry, we tried :(
$this->say('Sorry, you will have to delete ' . $this->cmsPath . ' manually. ');
exit(1);
}
}
$this->_copyDir('tests/cache', $this->cmsPath);
$this->say('Joomla CMS site created at ' . $this->cmsPath);