GNOME Bugzilla – Bug 663070
vala uses --pkg=X and valac --pkg X
Last modified: 2018-02-20 16:19:23 UTC
The 'vala' program does not accepts specifying the pkg as an argument to --pkg, it requires an '=' between --pkg and the package name. Else you get this error: $ vala --pkg gtk+-2.0 hello.vala Missing argument for --pkg Both syntaxes should be supported.
This was fixed somewhere in the past.
Oh, with "vala" not "valac"
This is somewhat confusing for newcomers. Would be good to fix it before 1.0 IMO.
Created attachment 363290 [details] [review] compiler: Properly parse arguments for vala interpeter-mode Arguments for the target need to be passed with --run-args from now on.
Attachment 363290 [details] pushed as 0e45b19 - compiler: Properly parse arguments for vala interpeter-mode