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
3 changed files with 10 additions and 8 deletions

View File

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

View File

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

View File

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