Skip to content

Commit c07bcd0

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

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
@@ -215,6 +215,9 @@ function add(pkg::PackageSpec)
215215
manifest.deps[pkg.uuid] = entry
216216

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

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

0 commit comments

Comments
 (0)