mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-18 03:11:40 +01:00
if docs site directory exists, keep it updated
This commit is contained in:
parent
d0ddbcb16c
commit
10ff9869f9
@ -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));
|
||||||
|
Loading…
Reference in New Issue
Block a user