|
|
@ -2,8 +2,10 @@ |
|
|
|
set -euxo pipefail |
|
|
|
set -euxo pipefail |
|
|
|
cd "$(dirname "$0")/.." |
|
|
|
cd "$(dirname "$0")/.." |
|
|
|
|
|
|
|
|
|
|
|
dart pub global activate melos 3.1.0 |
|
|
|
for package in $(yq -r ".dev_dependencies | keys | .[]" pubspec.yaml); do |
|
|
|
dart pub global activate fvm 2.4.1 |
|
|
|
version="$(yq -r ".dev_dependencies.$package" pubspec.yaml)" |
|
|
|
|
|
|
|
dart pub global activate "$package" "$version" |
|
|
|
|
|
|
|
done |
|
|
|
echo "y" | fvm install |
|
|
|
echo "y" | fvm install |
|
|
|
melos exec --concurrency=1 flutter pub get |
|
|
|
melos exec --concurrency=1 flutter pub get |
|
|
|
dart run husky install |
|
|
|
dart run husky install |
|
|
|