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

16 lines
314 B
V
Raw Normal View History

2019-12-01 12:50:13 +03:00
module main
2020-04-26 09:32:05 +03:00
import os
import testing
import v.util
2019-12-01 12:50:13 +03:00
fn main() {
args := os.args
args_string := args[1..].join(' ')
skips := []string{}
util.ensure_modules_for_all_tools_are_installed('-v' in args)
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)
}
}