refactor: replace deprecated command

This commit is contained in:
validcube 2023-11-11 17:14:54 +07:00 committed by aAbed
parent f785185e1c
commit c24da41505
4 changed files with 4 additions and 4 deletions

View File

@ -33,7 +33,7 @@ jobs:
- name: Install Flutter dependencies
run: flutter pub get
- name: Generate files with Builder
run: flutter packages pub run build_runner build --delete-conflicting-outputs
run: dart run build_runner build --delete-conflicting-outputs
- name: Build with Flutter
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

View File

@ -23,7 +23,7 @@ jobs:
- name: Set up Flutter
run: flutter pub get
- name: Generate files with Builder
run: flutter packages pub run build_runner build --delete-conflicting-outputs
run: dart run build_runner build --delete-conflicting-outputs
- name: Build with Flutter
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

View File

@ -31,5 +31,5 @@ We're accepting translations on [Crowdin](https://translate.revanced.app).
3. Add your GitHub token in gradle.properties like [this](/docs/4_building.md)
4. Open the project in terminal
5. Run `flutter pub get` in terminal
6. Then `flutter packages pub run build_runner build --delete-conflicting-outputs` (Must be done on each git pull)
6. Then `dart run build_runner build --delete-conflicting-outputs` (Must be done on each git pull)
7. To build release APK run `flutter build apk`

View File

@ -18,7 +18,7 @@ This page will guide you through building ReVanced Manager from source.
4. Delete conflicting outputs
```sh
flutter packages pub run build_runner build --delete-conflicting-outputs
dart run build_runner build --delete-conflicting-outputs
```
> [!Note]