From 89b1ca1df92098e9c3f9b77539c7a2248f034ea5 Mon Sep 17 00:00:00 2001 From: Johannes Vedder Date: Thu, 8 Aug 2024 09:38:19 +0200 Subject: [PATCH] chore: make fvm optional with melos --- CONTRIBUTING.md | 4 ++++ melos.yaml | 1 - 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 169f99921..0f47b05c9 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -102,6 +102,10 @@ Languages & Frameworks -> Flutter -> Flutter SDK path and set the path to the F (`/.fvm/flutter_sdk`). For VS Code, have a look at the [FVM documentation](https://fvm.app/documentation/guides/vscode). +Using FVM with melos requires setting the `MELOS_SDK_PATH` environment variable to the path of the +FVM Flutter SDK. This can be done by running `export MELOS_SDK_PATH=.fvm/flutter_sdk` in the +terminal. This is needed to ensure that melos uses the correct Flutter SDK version. + ## Database and Backend We are using a self-hosted instance of [Supabase](https://supabase.com/) as a diff --git a/melos.yaml b/melos.yaml index 9132358c8..1fc5e8a91 100644 --- a/melos.yaml +++ b/melos.yaml @@ -1,6 +1,5 @@ name: studyu repository: https://github.com/hpi-studyu/studyu -sdkPath: .fvm/flutter_sdk packages: - app