2019-12-01 10:50:13 +01:00
|
|
|
module main
|
|
|
|
|
2020-04-26 08:32:05 +02:00
|
|
|
import os
|
|
|
|
import testing
|
2020-05-30 10:06:16 +02:00
|
|
|
import v.util
|
2019-12-01 10:50:13 +01:00
|
|
|
|
|
|
|
fn main() {
|
|
|
|
args := os.args
|
|
|
|
args_string := args[1..].join(' ')
|
2020-07-08 13:29:55 +02:00
|
|
|
skips := []string{}
|
2020-05-30 10:06:16 +02:00
|
|
|
util.ensure_modules_for_all_tools_are_installed('-v' in args)
|
2020-10-15 15:17:52 +02:00
|
|
|
if testing.v_build_failing_skipped(args_string.all_before('build-tools'), 'cmd/tools',
|
|
|
|
skips) {
|
2019-12-01 10:50:13 +01:00
|
|
|
exit(1)
|
|
|
|
}
|
|
|
|
}
|