mirror of https://github.com/flutter/samples.git
Scripting flutter pub upgrade (#242)
parent
c595b0a498
commit
13125bc435
@ -0,0 +1,14 @@
|
||||
#!/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
|
Loading…
Reference in new issue