A framework for building convergent cross-platform Nextcloud clients using Flutter.

17 lines
377 B

3 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