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
@@ -30,7 +30,7 @@ fn (v mut V) cc() {
|
||||
}
|
||||
v.build_thirdparty_obj_files()
|
||||
vexe := vexe_path()
|
||||
vdir := os.dir(vexe)
|
||||
vdir := filepath.dir(vexe)
|
||||
// Just create a C/JavaScript file and exit
|
||||
// for example: `v -o v.c compiler`
|
||||
if v.out_name.ends_with('.c') || v.out_name.ends_with('.js') {
|
||||
|
||||
Reference in New Issue
Block a user