2019-12-01 12:50:13 +03:00
|
|
|
module main
|
|
|
|
|
2020-04-26 09:32:05 +03:00
|
|
|
import os
|
|
|
|
import testing
|
2020-05-30 11:06:16 +03:00
|
|
|
import v.util
|
2019-12-01 12:50:13 +03:00
|
|
|
|
|
|
|
fn main() {
|
|
|
|
args := os.args
|
|
|
|
args_string := args[1..].join(' ')
|
2020-05-17 00:14:06 +03:00
|
|
|
// TODO: fix cmd/tools/gen_vc.v / vweb too
|
|
|
|
skips := [
|
|
|
|
'cmd/tools/gen_vc.v'
|
|
|
|
]
|
2020-05-30 11:06:16 +03:00
|
|
|
util.ensure_modules_for_all_tools_are_installed('-v' in args)
|
2020-05-17 00:14:06 +03:00
|
|
|
if testing.v_build_failing_skipped(args_string.all_before('build-tools'), 'cmd/tools', skips) {
|
2019-12-01 12:50:13 +03:00
|
|
|
exit(1)
|
|
|
|
}
|
|
|
|
}
|