mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
add schema check
This commit is contained in:
@@ -60,12 +60,20 @@ do
|
||||
|
||||
|
||||
if [ $PACKAGE == 'adf-core' ]; then
|
||||
if [ ! -f package/prebuilt-themes/'adf-blue-orange.css' ]; then
|
||||
if [ ! -f package/prebuilt-themes/'adf-blue-orange.css' ]; then
|
||||
error_out '31;1' "$PACKAGE prebuilt-theme not found!" >&2
|
||||
exit 1
|
||||
else
|
||||
echo "prebuilt-theme ok!"
|
||||
fi
|
||||
fi
|
||||
|
||||
if [ ! -f package/app-config/'schema.json' ]; then
|
||||
error_out '31;1' "$PACKAGE schema not found!" >&2
|
||||
exit 1
|
||||
else
|
||||
echo "schema ok!"
|
||||
fi
|
||||
|
||||
fi
|
||||
|
||||
if [ ! -f package/bundles/$PACKAGE'.umd.js' ]; then
|
||||
|
Reference in New Issue
Block a user