Skip to content

Commit

Permalink
Rename to depends-on in pixi.toml (#522)
Browse files Browse the repository at this point in the history
Will soon be deprecated.
See Deltares/Ribasim#1993
  • Loading branch information
visr authored Jan 7, 2025
1 parent ecca90a commit b2f01f2
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions pixi.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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" }
Expand Down

0 comments on commit b2f01f2

Please sign in to comment.