diff --git a/content/yaml-quick-start/building-a-flutter-app.md b/content/yaml-quick-start/building-a-flutter-app.md index b3b18b50..134751a9 100644 --- a/content/yaml-quick-start/building-a-flutter-app.md +++ b/content/yaml-quick-start/building-a-flutter-app.md @@ -74,14 +74,23 @@ workflows: {{}} {{}} -**Note**: When using Melos for managing monorepos in conjuction with FVM, and **sdkPath** is set to **.fvm/flutter_sdk** inside **melos.yaml**, then the `sourceFile` needs to be linked to the `targetFile` by running the following command: +**Note**: When using Melos for managing monorepos in conjunction with FVM, and **sdkPath** is set to **.fvm/flutter_sdk** inside **melos.yaml**, then the `sourceFile` needs to be linked to the `targetFile` by running the following command: -``` +```yaml ln -s $FLUTTER_ROOT $CM_BUILD_DIR/.fvm/flutter_sdk ``` {{}} +{{}} +**Note**: For monorepo projects, where the FVM configuration file is located inside a subdirectory: instead of setting **flutter: fvm** in the workflow's environment section, install and configure FVM by running the following scripts in the relevant app directory: +```yaml +- name: Configure FVM + script: | + - brew tap leoafarias/fvm && brew install fvm + - fvm install && fvm use +``` + {{}} {{< /tab >}}