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

all: split all backends into cmd/tools/builders (#12811)

This commit is contained in:
Delyan Angelov
2021-12-12 21:10:43 +02:00
committed by GitHub
parent 57c1faadbe
commit 3afbb9e90a
18 changed files with 157 additions and 96 deletions

View File

@ -56,6 +56,10 @@ fn main() {
}
//
tpath := os.join_path(session.vtmp_dir, texe)
if texe.ends_with('_builder') || texe.ends_with('_builder.exe') {
os.mv_by_cp(tpath, os.join_path(tfolder, 'builders', texe)) or { panic(err) }
continue
}
if tname in tools_in_subfolders {
os.mv_by_cp(tpath, os.join_path(tfolder, tname, texe)) or { panic(err) }
continue