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