mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2024-08-30 18:12:39 +00:00
Refactor/dart notification (#1740)
* refactor: notification send * refactor: rename dart-notify to flowy-notification * ci: fix clippy wanrings * ci: fix rust code converage
This commit is contained in:
@ -190,4 +190,24 @@ script = [
|
||||
exec cmd.exe /c flutter packages pub run easy_localization:generate -S assets/translations/ -f keys -o locale_keys.g.dart -S assets/translations -s en.json
|
||||
exec cmd.exe /c flutter packages pub run build_runner build --delete-conflicting-outputs
|
||||
"""
|
||||
]
|
||||
]
|
||||
|
||||
[tasks.dry_code_generation]
|
||||
script_runner = "@shell"
|
||||
script = [
|
||||
"""
|
||||
cd app_flowy
|
||||
flutter packages pub run easy_localization:generate -S assets/translations/ -f keys -o locale_keys.g.dart -S assets/translations -s en.json
|
||||
flutter packages pub run build_runner build --delete-conflicting-outputs
|
||||
"""
|
||||
]
|
||||
|
||||
[tasks.dry_code_generation.windows]
|
||||
script_runner = "@duckscript"
|
||||
script = [
|
||||
"""
|
||||
cd ./app_flowy/
|
||||
exec cmd.exe /c flutter packages pub run easy_localization:generate -S assets/translations/ -f keys -o locale_keys.g.dart -S assets/translations -s en.json
|
||||
exec cmd.exe /c flutter packages pub run build_runner build --delete-conflicting-outputs
|
||||
"""
|
||||
]
|
||||
|
@ -90,7 +90,7 @@ script = [
|
||||
CARGO_INCREMENTAL=0 \
|
||||
RUSTFLAGS='-C instrument-coverage' \
|
||||
LLVM_PROFILE_FILE='prof-%p-%m.profraw' \
|
||||
cargo test --no-default-features --features="sync"
|
||||
cargo test --no-default-features --features="sync,rev-sqlite"
|
||||
"""
|
||||
]
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
[tasks.dart_clean]
|
||||
[tasks.flutter_clean]
|
||||
run_task = { name = [
|
||||
"rust_lib_clean",
|
||||
"rm_macro_build_cache",
|
||||
|
Reference in New Issue
Block a user