1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

vfmt: format all of cmd/ and add it to v test-cleancode (#9418)

This commit is contained in:
Lukas Neubert
2021-03-24 22:37:10 +01:00
committed by GitHub
parent 837cada30c
commit 7664964c56
11 changed files with 68 additions and 43 deletions

View File

@ -404,7 +404,9 @@ pub fn building_any_v_binaries_failed() bool {
os.chdir(parent_dir)
mut failed := false
v_build_commands := ['$vexe -o v_g -g cmd/v', '$vexe -o v_prod_g -prod -g cmd/v',
'$vexe -o v_cg -cg cmd/v', '$vexe -o v_prod_cg -prod -cg cmd/v', '$vexe -o v_prod -prod cmd/v']
'$vexe -o v_cg -cg cmd/v', '$vexe -o v_prod_cg -prod -cg cmd/v',
'$vexe -o v_prod -prod cmd/v',
]
mut bmark := benchmark.new_benchmark()
for cmd in v_build_commands {
bmark.step()