mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2024-08-30 18:12:39 +00:00
29 lines
448 B
TOML
29 lines
448 B
TOML
[tasks.rust_clean]
|
|
script = [
|
|
"""
|
|
cd rust-lib
|
|
cargo clean
|
|
|
|
cd ../../shared-lib
|
|
cargo clean
|
|
|
|
CACHE_FILE=lib-infra/.cache
|
|
if [ -d "$CACHE_FILE" ]; then
|
|
echo "Remove $CACHE_FILE"
|
|
rm -rf $CACHE_FILE
|
|
fi
|
|
""",
|
|
]
|
|
script_runner = "@shell"
|
|
|
|
[tasks.rust_clean.windows]
|
|
script = [
|
|
"""
|
|
cd rust-lib
|
|
cargo clean
|
|
|
|
cd ../../shared-lib
|
|
rmdir /s/q "lib-infra/.cache"
|
|
""",
|
|
]
|
|
script_runner = "@duckscript" |