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 <krtirtho@gmail.com>
This commit is contained in:
Richard Hajek 2025-09-08 16:06:03 +02:00 committed by GitHub
parent cbbd0a2b40
commit a299a97ca4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -119,7 +119,7 @@ Enhancement suggestions are tracked as [GitHub issues](https://github.com/KRTirt
Do the following: 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 - Install Development dependencies in linux
- Debian (>=12/Bookworm)/Ubuntu - Debian (>=12/Bookworm)/Ubuntu
```bash ```bash
@ -138,11 +138,11 @@ Do the following:
- Create a `.env` in root of the project following the `.env.example` template - Create a `.env` in root of the project following the `.env.example` template
- Now run the following to bootstrap the project - Now run the following to bootstrap the project
```bash ```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 - Finally run these following commands in the root of the project to start the Spotube Locally
```bash ```bash
flutter run -d <window|macos|linux|(<android-device-id>)> fvm flutter run -d <window|macos|linux|(<android-device-id>)>
``` ```
Do debugging/testing/build etc then submit to us with PR against the development branch (dev) & we'll review your code Do debugging/testing/build etc then submit to us with PR against the development branch (dev) & we'll review your code