mirror of
https://github.com/mudler/luet.git
synced 2025-09-01 15:18:28 +00:00
Propagate reverse dep calculation
Whenever we update the tree with new informations, all the sibilings needs to be updated as well Also switch to inmemory db for recipe - even if this should be a switch
This commit is contained in:
@@ -125,6 +125,10 @@ var _ = Describe("Compiler", func() {
|
||||
Expect(err).ToNot(HaveOccurred())
|
||||
spec3, err := compiler.FromPackage(&pkg.DefaultPackage{Name: "d", Category: "test", Version: "1.0"})
|
||||
Expect(err).ToNot(HaveOccurred())
|
||||
|
||||
// err = generalRecipe.Tree().ResolveDeps(3)
|
||||
// Expect(err).ToNot(HaveOccurred())
|
||||
|
||||
Expect(spec3.GetPackage().GetRequires()[0].GetName()).To(Equal("c"))
|
||||
|
||||
spec.SetOutputPath(tmpdir)
|
||||
|
Reference in New Issue
Block a user