mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
prebuilt themes check and fix
This commit is contained in:
@@ -58,6 +58,16 @@ do
|
||||
npm pack '@alfresco/'$PACKAGE@$VERSION
|
||||
tar zxf 'alfresco-'$PACKAGE-$VERSION.tgz
|
||||
|
||||
|
||||
if [ $PACKAGE == 'adf-core' ]; 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/bundles/$PACKAGE'.umd.js' ]; then
|
||||
error_out '31;1' "$PACKAGE bundles not found!" >&2
|
||||
exit 1
|
||||
@@ -97,6 +107,7 @@ do
|
||||
done
|
||||
cd ..
|
||||
|
||||
rm -rf temp
|
||||
|
||||
set_npm_registry
|
||||
|
||||
|
Reference in New Issue
Block a user