mirror of
https://github.com/vlang/v.git
synced 2025-09-10 07:47:20 -04:00
tools: prevent module updates during v build-tools
, when VTEST_SANDBOXED_PACKAGING is set (#21094)
This commit is contained in:
parent
0a2346a2eb
commit
556f9f12ce
@ -19,7 +19,9 @@ const tools_in_subfolders = ['vast', 'vcreate', 'vdoc', 'vpm', 'vvet', 'vwhere']
|
|||||||
const non_packaged_tools = ['gen1m', 'gen_vc', 'fast', 'wyhash']
|
const non_packaged_tools = ['gen1m', 'gen_vc', 'fast', 'wyhash']
|
||||||
|
|
||||||
fn main() {
|
fn main() {
|
||||||
|
if os.getenv('VTEST_SANDBOXED_PACKAGING') == '' {
|
||||||
util.ensure_modules_for_all_tools_are_installed('-v' in os.args)
|
util.ensure_modules_for_all_tools_are_installed('-v' in os.args)
|
||||||
|
}
|
||||||
args_string := os.args[1..].join(' ')
|
args_string := os.args[1..].join(' ')
|
||||||
vexe := os.getenv('VEXE')
|
vexe := os.getenv('VEXE')
|
||||||
vroot := os.dir(vexe)
|
vroot := os.dir(vexe)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user