mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
v test v => v test-compiler
This commit is contained in:

committed by
Alexander Medvednikov

parent
854309a7d8
commit
ec15bfb7d1
@ -38,7 +38,7 @@ fn generate_vh(mod string) {
|
||||
os.mkdir_all(pdir)
|
||||
// os.mkdir(os.realpath(dir)) or { panic(err) }
|
||||
}
|
||||
out := os.create(path) or { panic(err) }
|
||||
mut out := os.create(path) or { panic(err) }
|
||||
mod_path := mod.replace("\\", "/")
|
||||
out.writeln('// $mod_path module header\n')
|
||||
mod_def := if mod_path.contains('/') { mod_path.all_after('/') } else { mod_path } // "os"
|
||||
|
Reference in New Issue
Block a user