fix: noconfirm auto-selects first AUR match
This commit is contained in:
+5
@@ -0,0 +1,5 @@
|
||||
public class Subdir.Subdir2.Test : GLib.Object {
|
||||
construct {
|
||||
stdout.printf("Test from Subdir/Subdir2/\n");
|
||||
}
|
||||
}
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
public class Subdir.Test : GLib.Object {
|
||||
construct {
|
||||
stdout.printf("Test from Subdir/\n");
|
||||
}
|
||||
}
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
public class Subdir2.Test : GLib.Object {
|
||||
construct {
|
||||
stdout.printf("Test from Subdir2/\n");
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
public class Test : GLib.Object {
|
||||
construct {
|
||||
stdout.printf("Test from main directory\n");
|
||||
}
|
||||
}
|
||||
+13
@@ -0,0 +1,13 @@
|
||||
project('valatest', 'vala', 'c')
|
||||
|
||||
valadeps = [dependency('glib-2.0'), dependency('gobject-2.0')]
|
||||
valafiles = files(
|
||||
'prog.vala',
|
||||
'Test.vala',
|
||||
'Subdir/Test.vala',
|
||||
'Subdir/Subdir2/Test.vala',
|
||||
'Subdir2/Test.vala',
|
||||
)
|
||||
|
||||
e = executable('multidir_prog', valafiles, dependencies : valadeps)
|
||||
test('valatest', e)
|
||||
@@ -0,0 +1,8 @@
|
||||
int main() {
|
||||
var test1 = new Test ();
|
||||
var test2 = new Subdir.Test ();
|
||||
var test3 = new Subdir2.Test ();
|
||||
var test4 = new Subdir.Subdir2.Test ();
|
||||
stdout.printf("Vala is working.\n");
|
||||
return 0;
|
||||
}
|
||||
Reference in New Issue
Block a user