From fec20d410220310a80edeea66e25936de3a624d9 Mon Sep 17 00:00:00 2001 From: Ian Date: Sat, 12 Dec 2020 01:08:14 -0500 Subject: [PATCH] instantiate during create_app --- src/PackageCompiler.jl | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/PackageCompiler.jl b/src/PackageCompiler.jl index ccdf2dd6..03f4386f 100644 --- a/src/PackageCompiler.jl +++ b/src/PackageCompiler.jl @@ -625,6 +625,11 @@ function create_app(package_dir::String, precompile_execution_file = abspath.(precompile_execution_file) package_dir = abspath(package_dir) ctx = create_pkg_context(package_dir) + if VERSION >= v"1.6.0-DEV.1673" + Pkg.instantiate(ctx, allow_autoprecomp = false) + else + Pkg.instantiate(ctx) + end if isempty(ctx.env.manifest) @warn "it is not recommended to create an app without a preexisting manifest" end