Skip to content
Snippets Groups Projects
Commit 535bb7e5 authored by hahn's avatar hahn
Browse files

update check-config.php

parent dbdfe0b9
No related branches found
No related tags found
1 merge request!195534 add docker
......@@ -180,14 +180,13 @@ if (!isset($aConfig) || !is_array($aConfig)) {
foreach (array(
'auth',
'build',
'installPackages',
'lang',
'phases',
'projects',
) as $sKey) {
echo "Key [$sKey] ";
if (!array_key_exists($sKey, $aConfig)) {
echo '<span class="error">failed</span> missing key [$sKey] in config<br>';
echo '<span class="error">failed</span> missing key ['.$sKey.'] in config<br>';
$aErrors[] = "* missing key [$sKey] in config\n";
} else {
echo '<span class="ok">OK</span> exists<br>';
......@@ -222,6 +221,7 @@ checkCommands(array(
'which rsync'=>'sync packages to puppet master',
'which git'=>'connect to git repositories',
));
echo '<h3>tools for IML projects</h3>';
checkCommands(array(
'which uglifyjs'=>'compress js',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment