Validate localizations on build

This commit is contained in:
stopflock committed 2025-10-22 15:52:50 -05:00
1 parent 76d0ece314
commit 23a056bfe5
4 files changed
+169 -2

No files matched your search

+5
View File
@@ -80,6 +80,11 @@ fi
# Build the dart-define arguments
DART_DEFINE_ARGS="--dart-define=OSM_PROD_CLIENTID=$OSM_PROD_CLIENTID --dart-define=OSM_SANDBOX_CLIENTID=$OSM_SANDBOX_CLIENTID"
# Validate localizations before building
echo "Validating localizations..."
dart run scripts/validate_localizations.dart || exit 1
echo
appver=$(grep "version:" pubspec.yaml | head -1 | cut -d ':' -f 2 | tr -d ' ' | cut -d '+' -f 1)
echo
echo "Building app version ${appver}..."