Browse Source

Merge pull request #841 from nextcloud/feat/tool/precache_flutter

feat(tool): precache flutter if not run in CI
pull/844/head
Nikolas Rimikis 1 year ago committed by GitHub
parent
commit
1cf34e43f5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  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