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

enable alpine/musl CI tests

This commit is contained in:
Delyan Angelov
2019-11-28 10:46:52 +02:00
committed by Alexander Medvednikov
parent 3b7466a13d
commit 7545ea709a
13 changed files with 137 additions and 65 deletions

View File

@@ -10,6 +10,10 @@ pub:
}
pub fn full_path_to_v(dirs_in int) string {
vexe_from_env := os.getenv('VEXE')
if vexe_from_env.len > 0 {
return vexe_from_env
}
vname := if os.user_os() == 'windows' { 'v.exe' } else { 'v' }
mut path := os.executable()
for i := 0; i < dirs_in; i++ {