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:
committed by
Alexander Medvednikov
parent
3b7466a13d
commit
7545ea709a
@@ -5,7 +5,8 @@ import log
|
||||
import benchmark
|
||||
|
||||
fn main(){
|
||||
logger := &log.Log{log.DEBUG, 'terminal'}
|
||||
mut logger := log.Log{}
|
||||
logger.set_level(log.DEBUG)
|
||||
options := runner.new_options()
|
||||
|
||||
mut bmark := benchmark.new_benchmark()
|
||||
|
||||
@@ -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++ {
|
||||
|
||||
Reference in New Issue
Block a user