From f8b844113b92a12d0a240add00eeef7593beb150 Mon Sep 17 00:00:00 2001 From: Martijn Visser Date: Mon, 6 Jan 2025 21:12:48 +0100 Subject: [PATCH] Rename to depends-on in pixi.toml Will soon be deprecated. See https://github.com/Deltares/Ribasim/pull/1993 --- pixi.toml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/pixi.toml b/pixi.toml index e505663b3..d3424091f 100644 --- a/pixi.toml +++ b/pixi.toml @@ -16,35 +16,35 @@ install-julia = "juliaup add 1.10.7 && juliaup override set 1.10.7" # Clear SSL_CERT_DIR to avoid Julia warnings, see https://github.com/JuliaLang/Downloads.jl/issues/244 update-registry-julia = { cmd = "julia --eval='using Pkg; Registry.update()'", env = { SSL_CERT_DIR = "" } } instantiate-julia = {cmd = "julia --project --eval='using Pkg; Pkg.instantiate()'",env = { SSL_CERT_DIR = "" } } -initialize-julia = { depends_on = [ +initialize-julia = { depends-on = [ "update-registry-julia", "instantiate-julia", ] } # Build instantiate-create-binaries = { cmd = "julia --project --eval='using Pkg; Pkg.instantiate()'", cwd = "build/create_binaries" } instantiate-wflow-cli = { cmd = "julia --project --eval='using Pkg; Pkg.instantiate()'", cwd = "build/wflow_cli" } -download-test-data = { cmd = "julia --project download_test_data.jl", cwd = "build/create_binaries", depends_on = [ +download-test-data = { cmd = "julia --project download_test_data.jl", cwd = "build/create_binaries", depends-on = [ "initialize-julia", "instantiate-create-binaries", ] } -build-wflow-cli = { cmd = "julia --project create_app.jl", cwd = "build/create_binaries", depends_on = [ +build-wflow-cli = { cmd = "julia --project create_app.jl", cwd = "build/create_binaries", depends-on = [ "download-test-data", "instantiate-wflow-cli", ], env = { SSL_CERT_DIR = "", JULIA_SSL_CA_ROOTS_PATH = "" } } # Test -test-wflow-cli = { cmd = "julia --project --eval 'using Pkg; Pkg.test()'", cwd = "build/wflow_cli", depends_on = [ +test-wflow-cli = { cmd = "julia --project --eval 'using Pkg; Pkg.test()'", cwd = "build/wflow_cli", depends-on = [ "download-test-data", ] } -test-wflow-cov = { cmd = "julia --project --eval 'using Pkg; Pkg.test(coverage=true, julia_args=[\"--check-bounds=yes\"])'", depends_on = [ +test-wflow-cov = { cmd = "julia --project --eval 'using Pkg; Pkg.test(coverage=true, julia_args=[\"--check-bounds=yes\"])'", depends-on = [ "initialize-julia", ] } # Server -test-wflow-server = { cmd = "julia --project=server --eval 'using Pkg; Pkg.test(\"WflowServer\", coverage=true)'", depends_on = [ +test-wflow-server = { cmd = "julia --project=server --eval 'using Pkg; Pkg.test(\"WflowServer\", coverage=true)'", depends-on = [ "instantiate-wflow-server", ] } instantiate-wflow-server = "julia --project=server --eval 'using Pkg; Pkg.instantiate(); Pkg.develop(path=\"./\")'" # Docs -install-ci = { depends_on = ["install-julia", "update-registry-julia"] } +install-ci = { depends-on = ["install-julia", "update-registry-julia"] } quarto-check = { cmd = "quarto check all" } quarto-render = { cmd = "julia --project=docs --eval 'using Pkg; Pkg.build(\"IJulia\")' && quarto render docs --to html --execute" } quarto-preview = { cmd = "quarto preview docs" }