Skip to content

Commit

Permalink
fix some of the dart analyzer complaints
Browse files Browse the repository at this point in the history
try to generate locals manually
  • Loading branch information
lamarios committed May 22, 2024
1 parent 0bb644f commit 6d622a8
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,13 +40,13 @@ jobs:
- run: set -e
- run: ./submodules/flutter/bin/flutter doctor
- run: ./submodules/flutter/bin/flutter config --no-analytics
- run: ./submodules/flutter/bin/dart run build_runner build --delete-conflicting-outputs
- run: ./submodules/flutter/bin/flutter pub get
- run: ./submodules/flutter/bin/dart format --output=none --set-exit-if-changed ./lib
- run: ./submodules/flutter/bin/dart analyze ./lib
# - name: Run tests with nix (starts postgres and invidious server)
# run: nix-shell --run './submodules/flutter/bin/flutter test'
- run: ./submodules/flutter/bin/flutter pub run flutter_native_splash:create
- run: ./submodules/flutter/bin/flutter gen-l10n
- run: ./submodules/flutter/bin/flutter build apk --profile --split-per-abi
- name: Archive build artifacts
uses: actions/upload-artifact@v3
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,9 @@ jobs:
export PUB_CACHE=$(pwd)/.pub-cache
./submodules/flutter/bin/flutter doctor
./submodules/flutter/bin/flutter config --no-analytics
./submodules/flutter/bin/dart run build_runner build --delete-conflicting-outputs
./submodules/flutter/bin/flutter pub get
./submodules/flutter/bin/flutter pub run flutter_native_splash:create
./submodules/flutter/bin/flutter gen-l10n
./submodules/flutter/bin/flutter build apk --split-per-abi
./submodules/flutter/bin/flutter build apk
./submodules/flutter/bin/flutter build appbundle
Expand Down
6 changes: 5 additions & 1 deletion l10n.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
arb-dir: lib/l10n
template-arb-file: app_en.arb
output-localization-file: app_localizations.dart
use-escaping: true
use-escaping: true
# workaround for issue: https://github.com/flutter/flutter/issues/148333
synthetic-package: false
output-dir: lib/l10n/gen_l10n
nullable-getter: false

0 comments on commit 6d622a8

Please sign in to comment.