fix: noconfirm auto-selects first AUR match
This commit is contained in:
+13
@@ -0,0 +1,13 @@
|
||||
project('static vapi', 'c', 'vala')
|
||||
|
||||
glib = dependency('glib-2.0')
|
||||
|
||||
conf = configuration_data()
|
||||
conf.set_quoted('VERSION', '1.0.0')
|
||||
config_h = configure_file(output : 'config.h',
|
||||
configuration : conf)
|
||||
|
||||
e = executable('static-vapi', 'vapi/config.vapi', 'test.vala',
|
||||
dependencies : glib)
|
||||
|
||||
test('test-config', e)
|
||||
@@ -0,0 +1,6 @@
|
||||
using GLib;
|
||||
using Config;
|
||||
|
||||
public int main (string[] args) {
|
||||
return GLib.strcmp(VERSION, "1.0.0");
|
||||
}
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
[CCode (cprefix = "", lower_case_cprefix = "", cheader_filename = "config.h")]
|
||||
namespace Config {
|
||||
public const string VERSION;
|
||||
}
|
||||
Reference in New Issue
Block a user