1
1
Fork 0
mirror of https://code.mensbeam.com/MensBeam/Arsse.git synced 2024-12-22 13:12:41 +00:00

Fix manual cleanup

This commit is contained in:
J. King 2019-08-04 21:59:25 -04:00
parent ba05d53626
commit 150e301378

View file

@ -165,6 +165,7 @@ class RoboFile extends \Robo\Tasks {
$dir."docs",
$dir."tests",
$dir."vendor-bin",
$dir."vendor/bin",
$dir."robo",
$dir."robo.bat",
$dir."package.json",
@ -190,8 +191,8 @@ class RoboFile extends \Robo\Tasks {
$execpath = escapeshellarg(realpath(self::BASE."vendor/bin/daux"));
$t = $this->collectionBuilder();
$t->taskExec($execpath)->arg("generate")->option("-d", self::BASE."manual")->args($args);
$t->taskDeleteDir(realpath(self::BASE."manual/theme"));
$t->taskDeleteDir(realpath(self::BASE."manual/themes/src"));
$t->taskDeleteDir(self::BASE."manual/theme");
$t->taskDeleteDir(self::BASE."manual/themes/src");
return $t->run();
}