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,19 @@
project('Generator Chain', 'c')
stage1_exe = find_program('stage1.py')
stage2_exe = find_program('stage2.py')
stage1_gen = generator(stage1_exe,
output : '@PLAINNAME@.inter',
arguments : ['@INPUT@', '@OUTPUT@'])
stage2_gen = generator(stage2_exe,
output : '@PLAINNAME@.c',
arguments : ['@INPUT@', '@OUTPUT@'])
out = stage2_gen.process(stage1_gen.process('data.txt'))
hello = executable('hello', out)
test('basic', hello)
@@ -0,0 +1,6 @@
#!/usr/bin/env python3
import sys
from pathlib import Path
assert(Path(sys.argv[1]).read_text() == 'stage1\n')
Path(sys.argv[2]).write_text('stage2\n')
@@ -0,0 +1,6 @@
#!/usr/bin/env python3
import sys
from pathlib import Path
assert(Path(sys.argv[1]).read_text() == 'stage2\n')
Path(sys.argv[2]).write_text('int main(void){}\n')