Skip to content

Commit

Permalink
Revert "Resolve before instantiating the environment. (#14)"
Browse files Browse the repository at this point in the history
This reverts commit a2bba0f.
  • Loading branch information
maleadt authored Sep 27, 2023
1 parent a2bba0f commit 9b281e7
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions hooks/pre-command
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,6 @@ if [ -n "$custom_manifest" ]; then
cp "$custom_manifest" Manifest.toml
fi

# when packages ship a manifest, we may need to resolve it before we can instantiate.
# we need to do this _outside_ of that environment, because Pkg may not be usable within.
if [ -f "Manifest.toml" ]; then
echo "Resolving manifest..."
julia -e "
using Pkg
Pkg.activate(\".\")
Pkg.resolve()
"
fi

JULIA_PKG_PRECOMPILE_AUTO=0 \
julia --project=${project} -e "
using Pkg
Expand Down

0 comments on commit 9b281e7

Please sign in to comment.