Skip to content

Bring projects, wikis, and teams together with AI. AppFlowy is the AI collaborative workspace where you achieve more without losing control of your data. The leading open source Notion alternative.

Fix task dependency order problem. Extract step of "vcpkg install sqlite3:x64-windows-static-md" from task "install_diesel.windows"

Alex tofc5e82d169d5
diff --git a/scripts/makefile/env.toml b/scripts/makefile/env.toml
index eb8fe35a8f..be15465b36 100644
--- a/scripts/makefile/env.toml
+++ b/scripts/makefile/env.toml
@@ -2,7 +2,7 @@
run_task = { name = ["install_prerequests","install_diesel", "install_protobuf"] }
[tasks.install_windows_deps.windows]
-dependencies=["check_duckscript_installation", "check_visual_studio_installation", "check_vcpkg", "install_rust_vcpkg_cli"]
+dependencies=["check_duckscript_installation", "check_visual_studio_installation", "check_vcpkg", "install_vcpkg_sqlite", "install_rust_vcpkg_cli"]
[tasks.check_visual_studio_installation.windows]
script = """
@@ -36,6 +36,11 @@ end
"""
script_runner = "@duckscript"
+[tasks.install_vcpkg_sqlite.windows]
+script = """
+vcpkg install sqlite3:x64-windows-static-md
+"""
+
[tasks.install_rust_vcpkg_cli.windows]
script = """
exec cargo install vcpkg_cli
@@ -54,7 +59,6 @@ cargo install diesel_cli --no-default-features --features sqlite
[tasks.install_diesel.windows]
script = """
-vcpkg install sqlite3:x64-windows-static-md
cargo install diesel_cli --no-default-features --features sqlite
"""
dependencies = ["check_vcpkg"]