Merge pull request #556 from AppFlowy-IO/fix/build_task

fix: build appflowy from VS Code
This commit is contained in:
Nathan.fooo 2022-06-15 22:45:00 +08:00 committed by GitHub
commit ea3d142b09
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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