mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2024-08-30 18:12:39 +00:00
30 lines
423 B
TOML
30 lines
423 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-core/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
|
|
""" |