fix: migrate to dart run build_runner... (#2962)

This commit is contained in:
Gabbar
2026-03-07 23:03:31 +05:30
committed by GitHub
parent 90de693a9b
commit 3ec2d77875
4 changed files with 4 additions and 4 deletions

View File

@@ -34,7 +34,7 @@ jobs:
- name: Build generated files
working-directory: app
run: flutter pub run build_runner build -d
run: dart run build_runner build -d
- name: Upload updated lib files with generated code
uses: actions/upload-artifact@v6

View File

@@ -13,7 +13,7 @@ After you have installed [Flutter](https://flutter.dev), then you can start this
```shell
cd app
flutter pub get
flutter pub run build_runner build -d
dart run build_runner build -d
flutter run
```

View File

@@ -24,7 +24,7 @@ git submodule update --init
alias flutter='submodules/flutter/bin/flutter'
flutter config --no-analytics
flutter pub get
flutter pub run build_runner build -d
dart run build_runner build -d
flutter build apk
popd

View File

@@ -4,7 +4,7 @@
fvm flutter clean
fvm flutter pub get
fvm flutter pub run build_runner build -d
fvm dart run build_runner build -d
fvm flutter pub run msix:create --store
Move-Item -Path build/windows/x64/runner/Release/localsend_app.msix -Destination LocalSend-XXX-windows-x86-64-store.msix