feat: Add config for fvm

This commit is contained in:
Anton Stubenbord
2024-01-25 19:16:36 +01:00
parent 2a10b5cc55
commit 94b5cedbec
3 changed files with 25 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
#!/usr/bin/env bash
set -Euo pipefail
__script_dir=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )
readonly __script_dir
pushd "$__script_dir/../"
for dir in packages/*/ # list directories in the form "/tmp/dirname/"
do
pushd $dir
echo "Installing dependencies for $dir"
fvm flutter packages pub get
fvm dart run build_runner build --delete-conflicting-outputs
popd
done
fvm flutter packages pub get
fvm flutter gen-l10n
fvm dart run build_runner build --delete-conflicting-outputs