Skip to content

Commit

Permalink
instantiate during create_app
Browse files Browse the repository at this point in the history
  • Loading branch information
IanButterworth committed Dec 13, 2020
1 parent 357ed47 commit fec20d4
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/PackageCompiler.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit fec20d4

Please sign in to comment.