mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
tools: create the vmodules folder, when it does not exist, on v translate hw.c
This commit is contained in:
parent
b8438ded32
commit
fa75713bc3
@ -16,6 +16,7 @@ fn main() {
|
||||
}
|
||||
// Git clone c2v
|
||||
if !os.exists(c2v_dir) {
|
||||
os.mkdir_all(vmodules)?
|
||||
println('C2V is not installed. Cloning C2V to $c2v_dir ...')
|
||||
os.chdir(vmodules)?
|
||||
res := os.execute('git clone https://github.com/vlang/c2v')
|
||||
|
Loading…
Reference in New Issue
Block a user