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

os, filepath: reorganize functions

This commit is contained in:
Alexey
2019-12-23 13:09:22 +03:00
committed by Alexander Medvednikov
parent 6e130cd446
commit dced76d1a4
28 changed files with 174 additions and 98 deletions

View File

@ -1,6 +1,9 @@
module compiler
import os
import (
os
filepath
)
#flag windows -l shell32
#flag windows -l dbghelp
@ -311,7 +314,7 @@ fn build_thirdparty_obj_file_with_msvc(path string, moduleflags []CFlag) {
return
}
println('$obj_path not found, building it (with msvc)...')
parent := os.dir(obj_path)
parent := filepath.dir(obj_path)
files := os.ls(parent)or{
panic(err)
}