mirror of
https://github.com/vlang/v.git
synced 2025-09-14 06:52:36 +03:00
modules: create the modules directory if it's missing, use cache/
This commit is contained in:
parent
acbca7584b
commit
b107b4f1e5
4 changed files with 19 additions and 5 deletions
|
@ -120,8 +120,6 @@ fn (v &V) generate_vh() {
|
|||
}
|
||||
// os.mkdir(os.realpath(dir))
|
||||
}
|
||||
println(path)
|
||||
|
||||
file := os.create(path) or { panic(err) }
|
||||
// Consts
|
||||
mod_def := if v.mod.contains('.') { v.mod.all_after('.') } else { v.mod }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue