fix: build appflowy from VS Code
@@ -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",
@@ -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"
+)
@@ -4,7 +4,10 @@
+CACHE_FILE=lib-infra/.cache
+if [ -f "$CACHE_FILE" ]; then
+ echo "Remove $CACHE_FILE"
+ rm -rf $CACHE_FILE
+fi
+
-rm -rf lib-infra/.cache