Skip to content

Commit

Permalink
Merge pull request #841 from nextcloud/feat/tool/precache_flutter
Browse files Browse the repository at this point in the history
feat(tool): precache flutter if not run in CI
  • Loading branch information
Leptopoda authored Sep 24, 2023
2 parents 0802d01 + 915e377 commit 1cf34e4
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tool/setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 1cf34e4

Please sign in to comment.