v.v: cleanup deprecated commands test-fixed, test-compiler-full, test-compiler
							parent
							
								
									80dbe8db1c
								
							
						
					
					
						commit
						365f9fcfc5
					
				
							
								
								
									
										15
									
								
								cmd/v/v.v
								
								
								
								
							
							
						
						
									
										15
									
								
								cmd/v/v.v
								
								
								
								
							|  | @ -23,9 +23,6 @@ const ( | ||||||
| 		'test-fmt', | 		'test-fmt', | ||||||
| 		'test-parser', | 		'test-parser', | ||||||
| 		'test-self', | 		'test-self', | ||||||
| 		'test-fixed', /* deprecated by test-self */ |  | ||||||
| 		'test-compiler', /* deprecated by test-self */ |  | ||||||
| 		'test-compiler-full', /* deprecated by test-self */ |  | ||||||
| 		'test-cleancode', | 		'test-cleancode', | ||||||
| 		'check-md', | 		'check-md', | ||||||
| 		'repl', | 		'repl', | ||||||
|  | @ -84,18 +81,6 @@ fn main() { | ||||||
| 		eprintln('-usecache is currently disabled on windows') | 		eprintln('-usecache is currently disabled on windows') | ||||||
| 		exit(1) | 		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
 | 	// Start calling the correct functions/external tools
 | ||||||
| 	// Note for future contributors: Please add new subcommands in the `match` block below.
 | 	// Note for future contributors: Please add new subcommands in the `match` block below.
 | ||||||
| 	if command in external_tools { | 	if command in external_tools { | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue