mirror of
https://github.com/movahhedi/blueberry-pma-theme.git
synced 2026-08-24 10:04:43 -05:00
Add check for screen.png on lint-theme.sh
This commit is contained in:
@@ -28,6 +28,13 @@ do_lint() {
|
||||
cd ..
|
||||
return 0
|
||||
fi
|
||||
|
||||
if [ ! -f screen.png ] ; then
|
||||
echo " * Missing screen.png, skipping further checks!"
|
||||
cd ..
|
||||
return 1
|
||||
fi
|
||||
|
||||
JVERSION=`php -r "echo json_decode(file_get_contents('theme.json'), true)['version'];"`
|
||||
echo " * Version from theme.json: $JVERSION"
|
||||
if [ -n "$VERSION" -a "$JVERSION" != "$VERSION" ] ; then
|
||||
|
||||
Reference in New Issue
Block a user