feat(new_engine): add support for noDeps and noCheckDeps (#1861)

* feat(new engine): add support for noDeps and noCheckDeps

* test(new engine): Add tests for -dd and normal split package resolution
This commit is contained in:
Jo authored and GitHub committed 2022-12-18 20:14:41 +00:00
1 parent 0b1ae938a3
commit 3eb9eb0d3d
12 files changed
+295 -36

No files matched your search

+1 -1
View File
@@ -45,7 +45,7 @@ func handleCmd() error {
return errors.Wrap(err, gotext.Get("failed to retrieve aur Cache"))
}
grapher := dep.NewGrapher(dbExecutor, aurCache, true, settings.NoConfirm, os.Stdout)
grapher := dep.NewGrapher(dbExecutor, aurCache, true, settings.NoConfirm, os.Stdout, cmdArgs.ExistsDouble("d", "nodeps"), false)
return graphPackage(context.Background(), grapher, cmdArgs.Targets)
}