mirror of
https://github.com/vlang/v.git
synced 2025-09-13 14:32:26 +03:00
tools: avoid os.glob, in favour of os.walk_ext (which works consistently even on windows)
This commit is contained in:
parent
02a7355cfa
commit
42222e6c0c
1 changed files with 1 additions and 1 deletions
|
@ -81,7 +81,7 @@ fn main() {
|
|||
mut glsl_folders := map[string]bool{}
|
||||
mut pfi := 0
|
||||
for pf, _ in project_folders {
|
||||
glsl_files := os.glob(os.join_path(pf, '*.glsl'))!
|
||||
glsl_files := os.walk_ext(pf, '.glsl')
|
||||
if glsl_files.len > 0 {
|
||||
if pf !in glsl_folders {
|
||||
log.debug('>>> found .glsl files in ${pf} ... running `v shader ${pf}` ...')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue