fix: noconfirm auto-selects first AUR match
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
#include "badger.h"
|
||||
|
||||
int main(int argc, char *argv[]) {
|
||||
Badger *badger;
|
||||
|
||||
badger = g_object_new(TYPE_BADGER, NULL);
|
||||
g_print("Badger whose name is '%s'\n", badger_get_name(badger));
|
||||
g_object_unref(badger);
|
||||
|
||||
return 0;
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
public class Badger : Object {
|
||||
public string name {
|
||||
get;
|
||||
construct;
|
||||
}
|
||||
|
||||
Badger() {
|
||||
Object(name: "Joe");
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
project('plain consumer', 'vala', 'c')
|
||||
|
||||
deps = [dependency('glib-2.0'), dependency('gobject-2.0')]
|
||||
|
||||
badger = static_library('badger', 'badger.vala',
|
||||
dependencies : deps)
|
||||
|
||||
app = executable('app', 'app.c',
|
||||
link_with : badger,
|
||||
dependencies : deps)
|
||||
|
||||
test('valaplainconsumertest', app)
|
||||
Reference in New Issue
Block a user