Skip to content

Commit 87b8c73

Browse files
KristofferCKristofferC
andcommitted
fix building packages on app add (#4491)
Co-authored-by: KristofferC <[email protected]> (cherry picked from commit 88a46e6)
1 parent a43bf21 commit 87b8c73

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/Apps/Apps.jl

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -216,6 +216,9 @@ function add(pkg::PackageSpec)
216216
manifest.deps[pkg.uuid] = entry
217217

218218
_resolve(manifest, pkg.name)
219+
if new === true || (new isa Set{UUID} && pkg.uuid in new)
220+
Pkg.Operations.build_versions(ctx, Set([pkg.uuid]); verbose = true)
221+
end
219222
precompile(pkg.name)
220223

221224
@info "For package: $(pkg.name) installed apps $(join(keys(project.apps), ","))"

0 commit comments

Comments
 (0)