Skip to content

Commit 57a33c3

Browse files
committed
pref: support VNORUN=1, to enable running of tests, vsh files etc (i.e. just compile them, for debugging later)
1 parent 1aad481 commit 57a33c3

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

vlib/v/pref/pref.c.v

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -317,6 +317,9 @@ pub fn parse_args_and_show_errors(known_external_commands []string, args []strin
317317
if os.getenv('VQUIET') != '' {
318318
res.is_quiet = true
319319
}
320+
if os.getenv('VNORUN') != '' {
321+
res.skip_running = true
322+
}
320323
mut command := ''
321324
mut command_pos := -1
322325

0 commit comments

Comments
 (0)