fix: noconfirm auto-selects first AUR match
This commit is contained in:
+3
@@ -0,0 +1,3 @@
|
||||
#!/usr/bin/env python3
|
||||
|
||||
print('c')
|
||||
@@ -0,0 +1,6 @@
|
||||
#include <stdio.h>
|
||||
|
||||
int main(void) {
|
||||
printf("Hello World");
|
||||
return 0;
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
project('introspect buildargs', ['c'], default_options: ['c_std=c99', 'cpp_std=c++14', 'buildtype=release'])
|
||||
|
||||
subA = subproject('projectA')
|
||||
|
||||
target_name = 'MAIN'
|
||||
target_src = ['main.c']
|
||||
|
||||
foo = false
|
||||
|
||||
executable(target_name, target_src, build_by_default : foo)
|
||||
|
||||
r = run_command(find_program('c_compiler.py'), check: false)
|
||||
if r.returncode() != 0
|
||||
error('FAILED')
|
||||
endif
|
||||
|
||||
add_languages(r.stdout().strip(), required: true)
|
||||
add_languages('afgggergearvearghergervergreaergaergasv', required: false)
|
||||
+2
@@ -0,0 +1,2 @@
|
||||
option('max_register_count', type: 'integer', min: 0, value: 125)
|
||||
option('use_external_fmt', type: 'boolean', value: false)
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
project('introspect subproject A', 'c', default_options: ['cpp_std=c++11', 'buildtype=debug'])
|
||||
|
||||
add_languages('cpp')
|
||||
+1
@@ -0,0 +1 @@
|
||||
option('subproj_var', type: 'boolean', value: false)
|
||||
+9
@@ -0,0 +1,9 @@
|
||||
pfggggaergaeg(sdgrgjgn)aga
|
||||
|
||||
rgqeh
|
||||
th
|
||||
thtr
|
||||
e
|
||||
tb
|
||||
tbqebt
|
||||
tbqebttrtt
|
||||
+1
@@ -0,0 +1 @@
|
||||
option('should_not_appear', type: 'integer', min: 0, value: 125)
|
||||
Reference in New Issue
Block a user