mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
tools: remove import v.pref, just for pref.vexe_path(), to compile tools faster (#17411)
This commit is contained in:
@@ -1,10 +1,9 @@
|
||||
module main
|
||||
|
||||
import os
|
||||
import v.pref
|
||||
|
||||
fn main() {
|
||||
vexe := pref.vexe_path()
|
||||
vexe := os.real_path(os.getenv_opt('VEXE') or { @VEXE })
|
||||
vroot := os.dir(vexe)
|
||||
os.chdir(vroot)!
|
||||
os.setenv('VCOLORS', 'always', true)
|
||||
|
||||
Reference in New Issue
Block a user