Skip to content

Commit

Permalink
pixi: Instantiate build environment before building
Browse files Browse the repository at this point in the history
  • Loading branch information
Hofer-Julian committed Oct 18, 2023
1 parent 1a977d9 commit 8d69e5f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pixi.toml
Original file line number Diff line number Diff line change
Expand Up @@ -52,11 +52,14 @@ lint = { depends_on = [
"mypy-ribasim-api",
] }
# Build
instantiate-build-environment = "cd build/create_binaries && julia --project --eval \"using Pkg; Pkg.instantiate()\""
build-ribasim-cli = { cmd = "cd build/create_binaries && julia --project create_app.jl", depends_on = [
"generate-testmodels",
"instantiate-build-environment",
] }
build-libribasim = { cmd = "cd build/create_binaries && julia --project create_lib.jl", depends_on = [
"generate-testmodels",
"instantiate-build-environment",
] }
build = { depends_on = ["build-ribasim-cli", "build-libribasim"] }
# Test
Expand Down

0 comments on commit 8d69e5f

Please sign in to comment.