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,5 @@
int retval (void);
int test (void) {
return retval ();
}
@@ -0,0 +1,5 @@
writec = find_program('writec.py')
retval = custom_target('writec',
output : 'retval.c',
command : [writec, '@OUTPUT@'])
@@ -0,0 +1,12 @@
#!/usr/bin/env python3
import sys
c = '''int
retval(void) {
return 0;
}
'''
with open(sys.argv[1], 'w') as f:
f.write(c)
@@ -0,0 +1,7 @@
project('foo', 'c', 'vala')
glib = dependency('glib-2.0')
subdir('c')
e = executable('foo', 'c/foo.c', retval, 'vala/bar.vala', dependencies: [glib])
test('test foo', e)
@@ -0,0 +1,5 @@
extern int test ();
public int main (string[] args) {
return test ();
}