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

4
.fvm/fvm_config.json Normal file
View File

@@ -0,0 +1,4 @@
{
"flutterSdkVersion": "3.16.5",
"flavors": {}
}

1
.gitignore vendored
View File

@@ -34,6 +34,7 @@ android/key.properties
.pub-cache/
.pub/
/build/
.fvm/flutter_sdk
# Fastlane related
android/fastlane/report.xml

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