1
0
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:
Delyan Angelov
2023-02-26 07:56:14 +02:00
committed by GitHub
parent 45d4849b0f
commit 9c511e03f6
9 changed files with 13 additions and 20 deletions

View File

@@ -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']
)