mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
fix v build-tools
path handling on windows (affected tcc)
This commit is contained in:
parent
575ffb6881
commit
9587f9f875
@ -24,7 +24,7 @@ fn main() {
|
|||||||
vexe := os.getenv('VEXE')
|
vexe := os.getenv('VEXE')
|
||||||
vroot := os.dir(vexe)
|
vroot := os.dir(vexe)
|
||||||
os.chdir(vroot)
|
os.chdir(vroot)
|
||||||
folder := 'cmd/tools'
|
folder := os.join_path('cmd', 'tools')
|
||||||
tfolder := os.join_path(vroot, 'cmd', 'tools')
|
tfolder := os.join_path(vroot, 'cmd', 'tools')
|
||||||
main_label := 'Building $folder ...'
|
main_label := 'Building $folder ...'
|
||||||
finish_label := 'building $folder'
|
finish_label := 'building $folder'
|
||||||
@ -39,6 +39,8 @@ fn main() {
|
|||||||
for stool in tools_in_subfolders {
|
for stool in tools_in_subfolders {
|
||||||
session.add(os.join_path(tfolder, stool))
|
session.add(os.join_path(tfolder, stool))
|
||||||
}
|
}
|
||||||
|
eprintln('> session.files: $session.files')
|
||||||
|
eprintln('> session.skip_files: $session.skip_files')
|
||||||
session.test()
|
session.test()
|
||||||
eprintln(session.benchmark.total_message(finish_label))
|
eprintln(session.benchmark.total_message(finish_label))
|
||||||
if session.failed {
|
if session.failed {
|
||||||
|
Loading…
Reference in New Issue
Block a user