mirror of
https://github.com/flutter/samples.git
synced 2025-11-10 14:58:34 +00:00
[Gallery] Add Travis CI check that l10n command has been run for the gallery (#263)
* Add command to grind to verify that l10n command has ben run
This commit is contained in:
@@ -59,10 +59,14 @@ do
|
||||
done
|
||||
|
||||
# Test that the code segment widgets that get displayed in the Flutter Material
|
||||
# gallery have been generated using the latest gallery code.
|
||||
echo "Run code segments check for 'gallery/gallery'."
|
||||
# gallery have been generated using the latest gallery code. Also test that
|
||||
# the localization scripts have been run, so that they are up to date for the
|
||||
# gallery.
|
||||
pushd gallery/gallery
|
||||
echo "Run code segments check for 'gallery/gallery'."
|
||||
"${LOCAL_SDK_PATH}/bin/flutter" pub run grinder verify-code-segments
|
||||
echo "Run localization check for 'gallery/gallery'."
|
||||
"${LOCAL_SDK_PATH}/bin/flutter" pub run grinder verify-l10n
|
||||
popd
|
||||
|
||||
echo "-- Success --"
|
||||
|
||||
Reference in New Issue
Block a user