1
0
mirror of https://github.com/flutter/samples.git synced 2025-11-08 13:58:47 +00:00

flutter pub update & various fixes (#627)

This commit is contained in:
Brett Morgan
2020-12-18 10:51:31 +11:00
committed by GitHub
parent d01e6ab2bf
commit 6e9824dc12
102 changed files with 1431 additions and 1034 deletions

View File

@@ -4,10 +4,11 @@ set -e
scriptDirectory="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
for file in `find "${scriptDirectory}/.." -name pubspec.yaml`
# It seems federated_plugin_* isn't happy to run flutter pub upgrade
for dir in `find "${scriptDirectory}/.." -name pubspec.yaml -exec dirname {} \; | grep -v federated_plugin | grep -v experimental | sort`
do
(
cd `dirname $file`
cd $dir
echo "Updating `pwd`"
flutter pub upgrade
flutter pub outdated