From a299a97ca4185e0a6df913930bbb6cd6e318bee2 Mon Sep 17 00:00:00 2001 From: Richard Hajek Date: Mon, 8 Sep 2025 16:06:03 +0200 Subject: [PATCH] doc: compilation with fvm (#2254) * doc: compilation with fvm * Update bootstrap command in CONTRIBUTION.md Removed the 'enable-experiment=records,patterns' option from the build_runner command. --------- Co-authored-by: Kingkor Roy Tirtho --- CONTRIBUTION.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/CONTRIBUTION.md b/CONTRIBUTION.md index d4746a1a..db77a5f1 100644 --- a/CONTRIBUTION.md +++ b/CONTRIBUTION.md @@ -119,7 +119,7 @@ Enhancement suggestions are tracked as [GitHub issues](https://github.com/KRTirt Do the following: -- Download the latest Flutter SDK (>=3.16.0) & enable desktop support +- Install [Dart](https://dart.dev/get-dart) and [fvm](https://fvm.app/documentation/getting-started/installation) - Install Development dependencies in linux - Debian (>=12/Bookworm)/Ubuntu ```bash @@ -138,11 +138,11 @@ Do the following: - Create a `.env` in root of the project following the `.env.example` template - Now run the following to bootstrap the project ```bash - flutter pub get && dart run build_runner build --delete-conflicting-outputs --enable-experiment=records,patterns + fvm flutter pub get && fvm dart run build_runner build --delete-conflicting-outputs ``` - Finally run these following commands in the root of the project to start the Spotube Locally ```bash - flutter run -d )> + fvm flutter run -d )> ``` Do debugging/testing/build etc then submit to us with PR against the development branch (dev) & we'll review your code