|
|
@ -25,6 +25,9 @@ if [[ "$1" == "flutter" ]]; then |
|
|
|
find ./packages -name "pubspec.yaml" -exec sed -i "s/flutter: '>=.*'/flutter: '>=$flutter_version'/" {} \; |
|
|
|
find ./packages -name "pubspec.yaml" -exec sed -i "s/flutter: '>=.*'/flutter: '>=$flutter_version'/" {} \; |
|
|
|
find ./packages -name "pubspec.yaml" -exec sed -i "s/sdk: '>=.* <.*'/sdk: '>=$dart_version_major.$dart_version_minor.0 <$dart_version_next_major.0.0'/" {} \; |
|
|
|
find ./packages -name "pubspec.yaml" -exec sed -i "s/sdk: '>=.* <.*'/sdk: '>=$dart_version_major.$dart_version_minor.0 <$dart_version_next_major.0.0'/" {} \; |
|
|
|
fvm exec mono_repo pub get |
|
|
|
fvm exec mono_repo pub get |
|
|
|
|
|
|
|
elif [[ "$1" == "dependencies" ]]; then |
|
|
|
|
|
|
|
fvm exec mono_repo pub upgrade --major-versions |
|
|
|
|
|
|
|
fvm exec mono_repo pub upgrade |
|
|
|
elif [ -d "external/nextcloud-$1" ]; then |
|
|
|
elif [ -d "external/nextcloud-$1" ]; then |
|
|
|
update_app "$1" |
|
|
|
update_app "$1" |
|
|
|
else |
|
|
|
else |
|
|
|