mirror of
https://github.com/movahhedi/blueberry-pma-theme.git
synced 2026-08-24 10:04:43 -05:00
Display all metadata in lint
Signed-off-by: Michal Čihař <michal@cihar.com>
This commit is contained in:
@@ -37,6 +37,8 @@ do_lint() {
|
||||
fi
|
||||
VERSION=$JVERSION
|
||||
echo " * Supported phpMyAdmin versions: `php -r "echo implode(', ', json_decode(file_get_contents('theme.json'), true)['supports']);"`"
|
||||
echo " * Metadata:"
|
||||
php -r "\$data = json_decode(file_get_contents('theme.json'), true); foreach (\$data as \$item => \$value) { echo ' - ' . \$item . ': '; if (is_array(\$value)) { echo implode(', ', \$value); } else { echo \$value; }; echo \"\\n\"; }"
|
||||
|
||||
cd ..
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user