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

tools: add -cflags -Werror step to v test-all

This commit is contained in:
Delyan Angelov 2021-04-05 23:52:39 +03:00
parent d8cb24eef0
commit aa5f733f01

View File

@ -57,6 +57,10 @@ fn get_all_commands() []Command {
line: '$vexe -o vtmp cmd/v'
okmsg: 'V can compile itself.'
}
res << Command{
line: '$vexe -o vtmp_werror -cflags -Werror cmd/v'
okmsg: 'V can compile itself with -cflags -Werror too.'
}
res << Command{
line: '$vexe $vargs -progress test-cleancode'
okmsg: 'All important .v files are invariant when processed with `v fmt`'