mirror of https://github.com/flutter/samples.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
273 B
15 lines
273 B
5 years ago
|
#!/bin/bash
|
||
|
|
||
|
set -e
|
||
|
|
||
|
scriptDirectory="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
|
||
|
|
||
|
for file in `find "${scriptDirectory}/.." -name pubspec.yaml`
|
||
|
do
|
||
|
(
|
||
|
cd `dirname $file`
|
||
|
echo "Updating `pwd`"
|
||
|
flutter pub upgrade
|
||
|
)
|
||
|
done
|