Browse Source

feat(tool): Install setup tools from workspace

Signed-off-by: jld3103 <jld3103yt@gmail.com>
pull/558/head
jld3103 1 year ago
parent
commit
3f1be7a3e5
No known key found for this signature in database
GPG Key ID: 9062417B9E8EB7B3
  1. 6
      tool/setup.sh

6
tool/setup.sh

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

Loading…
Cancel
Save