mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2024-08-30 18:12:39 +00:00
Fix task dependency order problem. Extract step of "vcpkg install sqlite3:x64-windows-static-md" from task "install_diesel.windows"
This commit is contained in:
parent
93ce7d3b7d
commit
fc5e82d169
@ -2,7 +2,7 @@
|
|||||||
run_task = { name = ["install_prerequests","install_diesel", "install_protobuf"] }
|
run_task = { name = ["install_prerequests","install_diesel", "install_protobuf"] }
|
||||||
|
|
||||||
[tasks.install_windows_deps.windows]
|
[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]
|
[tasks.check_visual_studio_installation.windows]
|
||||||
script = """
|
script = """
|
||||||
@ -36,6 +36,11 @@ end
|
|||||||
"""
|
"""
|
||||||
script_runner = "@duckscript"
|
script_runner = "@duckscript"
|
||||||
|
|
||||||
|
[tasks.install_vcpkg_sqlite.windows]
|
||||||
|
script = """
|
||||||
|
vcpkg install sqlite3:x64-windows-static-md
|
||||||
|
"""
|
||||||
|
|
||||||
[tasks.install_rust_vcpkg_cli.windows]
|
[tasks.install_rust_vcpkg_cli.windows]
|
||||||
script = """
|
script = """
|
||||||
exec cargo install vcpkg_cli
|
exec cargo install vcpkg_cli
|
||||||
@ -54,7 +59,6 @@ cargo install diesel_cli --no-default-features --features sqlite
|
|||||||
|
|
||||||
[tasks.install_diesel.windows]
|
[tasks.install_diesel.windows]
|
||||||
script = """
|
script = """
|
||||||
vcpkg install sqlite3:x64-windows-static-md
|
|
||||||
cargo install diesel_cli --no-default-features --features sqlite
|
cargo install diesel_cli --no-default-features --features sqlite
|
||||||
"""
|
"""
|
||||||
dependencies = ["check_vcpkg"]
|
dependencies = ["check_vcpkg"]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user