fix: build appflowy from VS Code

This commit is contained in:
appflowy 2022-06-15 22:28:33 +08:00
parent 992dbc8b06
commit 777547229c
3 changed files with 10 additions and 8 deletions

View File

@ -15,11 +15,11 @@
"dependsOrder": "sequence",
"dependsOn": [
"AF: Clean",
"AF: build_flowy_sdk",
"AF: Flutter Pub Get",
"AF: Flutter Package Get",
"AF: Generate Language Files",
"AF: Generate Freezed Files",
"AF: build_flowy_sdk"
],
"presentation": {
"reveal": "always",

View File

@ -1,7 +1,6 @@
cd rust-lib
cargo clean
cd ../../shared-lib
cargo clean
rmdir /s/q "lib-infra/.cache"
if exist "lib-infra/.cache" (
rmdir /s/q "lib-infra/.cache"
)

View File

@ -4,7 +4,10 @@
cd rust-lib
cargo clean
cd ../../shared-lib
cargo clean
CACHE_FILE=lib-infra/.cache
if [ -f "$CACHE_FILE" ]; then
echo "Remove $CACHE_FILE"
rm -rf $CACHE_FILE
fi
rm -rf lib-infra/.cache