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:

committed by
Alexander Medvednikov

parent
6e130cd446
commit
dced76d1a4
@ -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)
|
||||
}
|
||||
|
Reference in New Issue
Block a user