2021-09-04 01:00:15 +00:00
|
|
|
|
|
|
|
[tasks.test_local]
|
|
|
|
category = "Build"
|
|
|
|
dependencies = ["rm_cache"]
|
|
|
|
description = "Build desktop targets."
|
|
|
|
script = '''
|
|
|
|
cd rust-lib
|
2021-09-04 07:12:53 +00:00
|
|
|
cargo test
|
2021-09-04 01:00:15 +00:00
|
|
|
'''
|
|
|
|
|
|
|
|
|
|
|
|
[tasks.test_remote]
|
2021-09-04 07:12:53 +00:00
|
|
|
dependencies = ["rm_cache"]
|
2021-09-04 01:00:15 +00:00
|
|
|
script = """
|
|
|
|
cd rust-lib
|
2021-09-04 07:12:53 +00:00
|
|
|
cargo test --features "flowy-workspace/http_server","flowy-user/http_server"
|
2021-09-04 01:00:15 +00:00
|
|
|
"""
|
|
|
|
|
|
|
|
|
|
|
|
[tasks.run_server]
|
|
|
|
script = """
|
|
|
|
cd backend
|
|
|
|
cargo run
|
|
|
|
"""
|
|
|
|
|
|
|
|
|
|
|
|
[tasks.rm_cache]
|
|
|
|
script = """
|
|
|
|
rm -rf rust-lib/flowy-test/temp
|
|
|
|
"""
|