chore: set error_task script

This commit is contained in:
appflowy 2022-03-07 08:30:59 +08:00
parent 733b6f7176
commit 1c1e955151
2 changed files with 8 additions and 2 deletions

View File

@ -9,6 +9,12 @@ extend = [
{ path = "scripts/makefile/flutter.toml" },
]
[config]
on_error_task = "catch"
[tasks.catch]
run_task = {name = ["restore-crate-type"]}
[env]
RUST_LOG = "info"
CARGO_MAKE_EXTEND_WORKSPACE_MAKEFILE = true

View File

@ -7,8 +7,8 @@ edition = "2018"
[lib]
name = "dart_ffi"
# this value will change depending on the target os
# default cdylib
crate-type = ["cdylib"]
# default static lib
crate-type = ["staticlib"]
[dependencies]