pref: support VNORUN=1, to enable running of tests, vsh files etc (i.e. just compile them, for debugging later)

This commit is contained in:
Delyan Angelov 2023-12-12 15:03:32 +02:00
parent 1aad481c29
commit 57a33c313b
No known key found for this signature in database
GPG key ID: 66886C0F12D595ED

View file

@ -317,6 +317,9 @@ pub fn parse_args_and_show_errors(known_external_commands []string, args []strin
if os.getenv('VQUIET') != '' {
res.is_quiet = true
}
if os.getenv('VNORUN') != '' {
res.skip_running = true
}
mut command := ''
mut command_pos := -1