A framework for building convergent cross-platform Nextcloud clients using Flutter.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

17 lines
377 B

2 years ago
#!/bin/bash
set -euxo pipefail
cd "$(dirname "$0")/.."
for package in $(yq -r ".dev_dependencies | keys | .[]" pubspec.yaml); do
version="$(yq -r ".dev_dependencies.$package" pubspec.yaml)"
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