|
@@ -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"]
|