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

@ -541,7 +541,6 @@ pub fn final_target_out_name(out_name string) string {
pub fn (v V) run_compiled_executable_and_exit() {
args := env_vflags_and_os_args()
if v.pref.is_verbose {
println('============ running $v.out_name ============')
}

View File

@ -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()

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++ {

View File

@ -13,7 +13,7 @@ pub fn launch_tool(tname string){
tool_args := oargs.join(' ')
tool_command := '"$tool_exe" $tool_args'
//println('Launching: "$tool_command" ...')
mut tool_should_be_recompiled := false
if !os.file_exists( tool_exe ) {
// fresh checkout