mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
Use os.rmdir_recursive instead of scripting.run('rm -rf')
This commit is contained in:
parent
8a7f2a2696
commit
760448afa4
@ -99,8 +99,8 @@ fn main() {
|
|||||||
context.cc = ecc
|
context.cc = ecc
|
||||||
}
|
}
|
||||||
if context.cleanup {
|
if context.cleanup {
|
||||||
scripting.run('rm -rf $context.path_v')
|
os.rmdir_recursive(context.path_v)
|
||||||
scripting.run('rm -rf $context.path_vc')
|
os.rmdir_recursive(context.path_vc)
|
||||||
}
|
}
|
||||||
|
|
||||||
context.compile_oldv_if_needed()
|
context.compile_oldv_if_needed()
|
||||||
|
Loading…
Reference in New Issue
Block a user