30 lines
423 B
TOML
Raw Normal View History

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