fix: noconfirm auto-selects first AUR match

This commit is contained in:
2026-05-08 11:01:02 +01:00
parent d39cdc3fd9
commit 153cca6132
8056 changed files with 1983098 additions and 779 deletions
@@ -0,0 +1,14 @@
project('dep-test', 'c')
dep = dependency('', required:false)
if dep.found()
error('not-found dependency was found')
endif
assert(dep.type_name() == 'not-found', 'dependency should be of type "not-found" not ' + dep.type_name())
library('testlib', 'testlib.c', dependencies: [dep])
subdir('sub', if_found: dep)
subdep = dependency('', fallback: ['trivial', 'trivial_dep'])
missing = dependency('', fallback: ['missing', 'missing_dep'], required: false)