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

vfmt: run vfmt over v.v, and add it to v test-cleancode too

This commit is contained in:
Delyan Angelov 2020-11-21 10:24:11 +02:00
parent 650cdef8b4
commit 92d3cff957
2 changed files with 20 additions and 7 deletions

View File

@ -18,6 +18,7 @@ const (
'nonexistant',
]
vfmt_verify_list = [
'cmd/v/v.v',
'vlib/builtin/array.v',
'vlib/os/file.v',
'vlib/math/bits/bits.v',

View File

@ -11,14 +11,26 @@ import v.builder
const (
simple_cmd = [
'fmt', 'up', 'vet',
'self', 'tracev', 'symlink', 'bin2v',
'test', 'test-fmt', 'test-compiler', 'test-fixed', 'test-cleancode',
'fmt',
'up',
'vet',
'self',
'tracev',
'symlink',
'bin2v',
'test',
'test-fmt',
'test-compiler',
'test-fixed',
'test-cleancode',
'repl',
'complete',
'build-tools', 'build-examples',
'build-tools',
'build-examples',
'build-vbinaries',
'setup-freetype', 'doc', 'doctor'
'setup-freetype',
'doc',
'doctor',
]
list_of_flags_that_allow_duplicates = ['cc', 'd', 'define', 'cf', 'cflags']
)