mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-06-30 22:51:01 +02:00
if docs site directory exists, keep it updated
This commit is contained in:
@ -311,6 +311,12 @@ if ($npm)
|
|||||||
run_cmd($npm .' run build', 'rollup (npm run build)');
|
run_cmd($npm .' run build', 'rollup (npm run build)');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// if docs site directory exists, keep it updated
|
||||||
|
if ($npm && file_exists(__DIR__.'/docs/dist/site'))
|
||||||
|
{
|
||||||
|
run_cmd($npm .' run docs', 'build docs (npm run docs)');
|
||||||
|
}
|
||||||
|
|
||||||
echo "\n$succeeded tasks successful run".
|
echo "\n$succeeded tasks successful run".
|
||||||
($failed ? ', '.count($failed).' failed: '.implode(', ', $failed) : '')."\n\n";
|
($failed ? ', '.count($failed).' failed: '.implode(', ', $failed) : '')."\n\n";
|
||||||
exit(count($failed));
|
exit(count($failed));
|
||||||
|
Reference in New Issue
Block a user