mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
v.v: cleanup deprecated commands test-fixed, test-compiler-full, test-compiler
This commit is contained in:
parent
80dbe8db1c
commit
365f9fcfc5
15
cmd/v/v.v
15
cmd/v/v.v
@ -23,9 +23,6 @@ const (
|
||||
'test-fmt',
|
||||
'test-parser',
|
||||
'test-self',
|
||||
'test-fixed', /* deprecated by test-self */
|
||||
'test-compiler', /* deprecated by test-self */
|
||||
'test-compiler-full', /* deprecated by test-self */
|
||||
'test-cleancode',
|
||||
'check-md',
|
||||
'repl',
|
||||
@ -84,18 +81,6 @@ fn main() {
|
||||
eprintln('-usecache is currently disabled on windows')
|
||||
exit(1)
|
||||
}
|
||||
if command in ['test-fixed', 'test-compiler-full'] {
|
||||
eprintln('Please use `v test-self` instead.')
|
||||
exit(1)
|
||||
}
|
||||
if command == 'test-compiler' {
|
||||
eprintln('Please use either `v test-all`, `v test-self`, `v build-examples`, `v build-tools` or `v build-vbinaries` instead.')
|
||||
exit(1)
|
||||
}
|
||||
if command == 'test-vet' {
|
||||
eprintln('Please use `v test-cleancode` instead.')
|
||||
exit(1)
|
||||
}
|
||||
// Start calling the correct functions/external tools
|
||||
// Note for future contributors: Please add new subcommands in the `match` block below.
|
||||
if command in external_tools {
|
||||
|
Loading…
Reference in New Issue
Block a user