mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2024-08-30 18:12:39 +00:00
chore: udpate the clean scripto
This commit is contained in:
parent
736f21ef8a
commit
7a7f881d23
@ -4,8 +4,11 @@
|
||||
cd rust-lib
|
||||
cargo clean
|
||||
|
||||
cd ../../shared-lib
|
||||
cargo clean
|
||||
|
||||
CACHE_FILE=lib-infra/.cache
|
||||
if [ -f "$CACHE_FILE" ]; then
|
||||
if [ -d "$CACHE_FILE" ]; then
|
||||
echo "Remove $CACHE_FILE"
|
||||
rm -rf $CACHE_FILE
|
||||
fi
|
||||
|
@ -7,7 +7,11 @@ script = [
|
||||
cd ../../shared-lib
|
||||
cargo clean
|
||||
|
||||
rm -rf lib-infra/.cache
|
||||
CACHE_FILE=lib-infra/.cache
|
||||
if [ -d "$CACHE_FILE" ]; then
|
||||
echo "Remove $CACHE_FILE"
|
||||
rm -rf $CACHE_FILE
|
||||
fi
|
||||
""",
|
||||
]
|
||||
script_runner = "@shell"
|
||||
@ -19,8 +23,6 @@ script = [
|
||||
cargo clean
|
||||
|
||||
cd ../../shared-lib
|
||||
cargo clean
|
||||
|
||||
rmdir /s/q "lib-infra/.cache"
|
||||
""",
|
||||
]
|
||||
|
Loading…
Reference in New Issue
Block a user