mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2024-08-30 18:12:39 +00:00
31 lines
474 B
TOML
31 lines
474 B
TOML
|
|
||
|
[tasks.test_local]
|
||
|
category = "Build"
|
||
|
dependencies = ["rm_cache"]
|
||
|
description = "Build desktop targets."
|
||
|
script = '''
|
||
|
cd rust-lib
|
||
|
cargo test --features "flowy-workspace/mock_server","flowy-user/mock_server"
|
||
|
'''
|
||
|
|
||
|
|
||
|
[tasks.test_remote]
|
||
|
dependencies = ["rm_cache", "run_server"]
|
||
|
[tasks.run_test_remote_command]
|
||
|
script = """
|
||
|
cd rust-lib
|
||
|
cargo test
|
||
|
"""
|
||
|
|
||
|
|
||
|
[tasks.run_server]
|
||
|
script = """
|
||
|
cd backend
|
||
|
cargo run
|
||
|
"""
|
||
|
|
||
|
|
||
|
[tasks.rm_cache]
|
||
|
script = """
|
||
|
rm -rf rust-lib/flowy-test/temp
|
||
|
"""
|