1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

c2v: use https git clone

This commit is contained in:
Alexander Medvednikov 2022-06-22 22:49:29 +03:00
parent fe673e7963
commit 989c5e26f5

View File

@ -13,7 +13,7 @@ fn main() {
if !os.exists(c2v_dir) { if !os.exists(c2v_dir) {
println('C2V is not installed. Cloning C2V to $c2v_dir ...') println('C2V is not installed. Cloning C2V to $c2v_dir ...')
os.chdir(vmodules)? os.chdir(vmodules)?
res := os.execute('git clone --depth 1 git@github.com:/vlang/c2v.git') res := os.execute('git clone https://github.com/vlang/c2v')
if res.exit_code != 0 { if res.exit_code != 0 {
eprintln('Failed to download C2V.') eprintln('Failed to download C2V.')
exit(1) exit(1)