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:
@@ -8,14 +8,13 @@ import strings
|
||||
import sync
|
||||
import runtime
|
||||
import v.doc
|
||||
import v.pref
|
||||
import v.vmod
|
||||
import json
|
||||
import term
|
||||
|
||||
const (
|
||||
allowed_formats = ['md', 'markdown', 'json', 'text', 'stdout', 'html', 'htm']
|
||||
vexe = pref.vexe_path()
|
||||
vexe = os.getenv_opt('VEXE') or { @VEXE }
|
||||
vroot = os.dir(vexe)
|
||||
tabs = ['\t\t', '\t\t\t\t\t\t', '\t\t\t\t\t\t\t']
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user