AppFlowy/scripts/makefile/tests.toml

31 lines
474 B
TOML
Raw Normal View History

2021-09-04 01:00:15 +00:00
[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
"""