Browse Source

feat(tool): precache flutter if not run in CI

Signed-off-by: Nikolas Rimikis <leptopoda@users.noreply.github.com>
pull/841/head
Nikolas Rimikis 1 year ago
parent
commit
915e377007
No known key found for this signature in database
GPG Key ID: 85ED1DE9786A4FF2
  1. 5
      tool/setup.sh

5
tool/setup.sh

@ -7,5 +7,10 @@ for package in $(yq -r ".dev_dependencies | keys | .[]" pubspec.yaml); do
dart pub global activate "$package" "$version"
done
echo "y" | fvm install
if [ ! -v GITHUB_REPOSITORY ]; then
fvm flutter precache
fi
melos bootstrap
fvm dart run husky install

Loading…
Cancel
Save