Scripting flutter pub upgrade (#242)

pull/247/head
Brett Morgan 5 years ago committed by GitHub
parent c595b0a498
commit 13125bc435
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -105,14 +105,14 @@ packages:
name: built_value name: built_value
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "7.0.4" version: "7.0.6"
built_value_generator: built_value_generator:
dependency: "direct dev" dependency: "direct dev"
description: description:
name: built_value_generator name: built_value_generator
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "7.0.4" version: "7.0.6"
charcode: charcode:
dependency: transitive dependency: transitive
description: description:
@ -195,7 +195,7 @@ packages:
description: description:
path: "plugins/file_chooser" path: "plugins/file_chooser"
ref: HEAD ref: HEAD
resolved-ref: aeff699d71972f20151757cc93ec3cac1daaa2f1 resolved-ref: "5aaea0eae9661c6e6cacf4e59ce480a17e86bec8"
url: "https://github.com/google/flutter-desktop-embedding.git" url: "https://github.com/google/flutter-desktop-embedding.git"
source: git source: git
version: "0.1.0" version: "0.1.0"
@ -324,7 +324,7 @@ packages:
description: description:
path: "plugins/menubar" path: "plugins/menubar"
ref: HEAD ref: HEAD
resolved-ref: aeff699d71972f20151757cc93ec3cac1daaa2f1 resolved-ref: "5aaea0eae9661c6e6cacf4e59ce480a17e86bec8"
url: "https://github.com/google/flutter-desktop-embedding.git" url: "https://github.com/google/flutter-desktop-embedding.git"
source: git source: git
version: "0.0.1" version: "0.0.1"

@ -190,7 +190,7 @@ packages:
name: intl name: intl
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "0.16.1" version: "0.16.0"
intl_translation: intl_translation:
dependency: "direct main" dependency: "direct main"
description: description:

@ -98,14 +98,14 @@ packages:
name: built_value name: built_value
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "7.0.4" version: "7.0.6"
built_value_generator: built_value_generator:
dependency: "direct dev" dependency: "direct dev"
description: description:
name: built_value_generator name: built_value_generator
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "7.0.4" version: "7.0.6"
charcode: charcode:
dependency: transitive dependency: transitive
description: description:

@ -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

@ -73,7 +73,7 @@ packages:
name: source_span name: source_span
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "1.5.5" version: "1.6.0"
string_scanner: string_scanner:
dependency: transitive dependency: transitive
description: description:
@ -103,4 +103,4 @@ packages:
source: hosted source: hosted
version: "2.0.8" version: "2.0.8"
sdks: sdks:
dart: ">=2.4.0 <3.0.0" dart: ">=2.6.0 <3.0.0"

@ -87,7 +87,7 @@ packages:
name: source_span name: source_span
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "1.5.5" version: "1.6.0"
string_scanner: string_scanner:
dependency: transitive dependency: transitive
description: description:
@ -124,5 +124,5 @@ packages:
source: hosted source: hosted
version: "2.0.8" version: "2.0.8"
sdks: sdks:
dart: ">=2.4.0 <3.0.0" dart: ">=2.6.0 <3.0.0"
flutter: ">=0.1.4 <3.0.0" flutter: ">=0.1.4 <3.0.0"

@ -80,7 +80,7 @@ packages:
name: source_span name: source_span
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "1.5.5" version: "1.6.0"
string_scanner: string_scanner:
dependency: transitive dependency: transitive
description: description:
@ -110,4 +110,4 @@ packages:
source: hosted source: hosted
version: "2.0.8" version: "2.0.8"
sdks: sdks:
dart: ">=2.5.0 <3.0.0" dart: ">=2.6.0 <3.0.0"

Loading…
Cancel
Save