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
@ -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 ============')
|
||||
}
|
||||
|
@ -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++ {
|
||||
|
@ -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
|
||||
|
Reference in New Issue
Block a user