[Gekidou] compass icons (#5940)

This commit is contained in:
Elias Nahum
2022-02-08 16:16:30 -03:00
committed by GitHub
parent 8cb7dd2fa9
commit 98fa1b0a55
9 changed files with 815 additions and 3592 deletions

View File

@@ -10,6 +10,16 @@ if [[ "$OSTYPE" == "darwin"* ]]; then
npm run pod-install &> /dev/null
fi
COMPASS_ICONS="node_modules/@mattermost/compass-icons/font/compass-icons.ttf"
if [ -z "$COMPASS_ICONS" ]; then
echo "Compass Icons font not found"
exit 1
else
echo "Configuring Compass Icons font"
cp "$COMPASS_ICONS" "assets/fonts/"
cp "$COMPASS_ICONS" "android/app/src/main/assets/fonts"
fi
ASSETS=$(node scripts/generate-assets.js)
if [ -z "$ASSETS" ]; then
echo "Error Generating app assets"