mirror of
https://github.com/flutter/samples.git
synced 2025-11-08 13:58:47 +00:00
15 lines
273 B
Bash
Executable File
15 lines
273 B
Bash
Executable File
#!/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
|