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

vweb: fix the test

This commit is contained in:
Alexander Medvednikov
2019-08-16 09:58:27 +03:00
parent 09340d48a0
commit c156cef972
2 changed files with 9 additions and 2 deletions

View File

@ -125,12 +125,15 @@ fn main() {
println('use `v install` to install modules from vpm.vlang.io')
return
}
if args.join(' ').contains(' test v') {
test_v()
return
}
if 'install' in args {
if args.len < 3 {
println('usage: v install [module] [module] [...]')
return
}
names := args.slice(2, args.len)
vexec := os.executable()
vroot := os.dir(vexec)
@ -1430,3 +1433,7 @@ fn update_v() {
}
}
fn test_v() {
}