Skip to content

Commit

Permalink
Resolve before instantiating the environment.
Browse files Browse the repository at this point in the history
  • Loading branch information
maleadt committed Sep 25, 2023
1 parent 4a33335 commit 6ad2179
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions hooks/pre-command
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,12 @@ julia --project=${project} -e "
${USE_SSH_BLOCK}
${ADD_REGISTRIES_BLOCK}
if isfile(\"Manifest.toml\")
# when packages ship a manifest, we may need to resolve it before we can instantiate
println("Resolving manifest...")
Pkg.resolve()
end
Pkg.instantiate()
Pkg.build()
Pkg.status()
Expand Down

0 comments on commit 6ad2179

Please sign in to comment.