mirror of
https://code.mensbeam.com/MensBeam/Arsse.git
synced 2024-12-22 21:22:40 +00:00
Anticipate the next release of Daux
This commit is contained in:
parent
2a19777537
commit
ca49785f6f
1 changed files with 0 additions and 7 deletions
|
@ -211,7 +211,6 @@ class RoboFile extends \Robo\Tasks {
|
|||
$languages = ["php", "bash", "shell", "xml", "nginx", "apache"];
|
||||
$themeout = realpath(self::BASE."docs/theme/arsse/").\DIRECTORY_SEPARATOR;
|
||||
$dauxjs = realpath(self::BASE."vendor-bin/daux/vendor/daux/daux.io/themes/daux/js/").\DIRECTORY_SEPARATOR;
|
||||
$dauxout = realpath(self::BASE."docs/theme/daux/js/").\DIRECTORY_SEPARATOR;
|
||||
// start a collection; this stops after the first failure
|
||||
$t = $this->collectionBuilder();
|
||||
$tmp = $t->tmpDir().\DIRECTORY_SEPARATOR;
|
||||
|
@ -221,12 +220,6 @@ class RoboFile extends \Robo\Tasks {
|
|||
foreach(glob($dauxjs."daux*") as $file) {
|
||||
$t->taskFilesystemStack()->copy($file, $themeout.basename($file), true);
|
||||
}
|
||||
foreach(glob($dauxjs."jquery*") as $file) {
|
||||
$t->taskFilesystemStack()->copy($file, $themeout.basename("jquery.min.js"), true);
|
||||
}
|
||||
foreach(glob($dauxjs."html5shiv*") as $file) {
|
||||
$t->taskFilesystemStack()->copy($file, $dauxout.basename($file), true);
|
||||
}
|
||||
// download highlight.js
|
||||
$t->addCode(function() use ($languages, $tmp, $themeout) {
|
||||
// compile the list of desired language (enumerated above) into an application/x-www-form-urlencoded body
|
||||
|
|
Loading…
Reference in a new issue