Browse Source

Merge pull request #558 from nextcloud/feature/setup-install-from-workspace

feat(tool): Install setup tools from workspace
pull/578/head
Kate 1 year ago committed by GitHub
parent
commit
91512a9363
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 6
      tool/setup.sh

6
tool/setup.sh

@ -2,8 +2,10 @@
set -euxo pipefail
cd "$(dirname "$0")/.."
dart pub global activate melos 3.1.0
dart pub global activate fvm 2.4.1
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
melos exec --concurrency=1 flutter pub get
dart run husky install

Loading…
Cancel
Save