Describe the bug
Genie with action "idl" or "version" trying find modules in self root folder
To Reproduce
Steps to reproduce the behavior:
Clone bgfx, bx, bimg
Run ..\bx\tools\bin\windows\genie idl
Get output
Building configurations... Running action 'idl'... ...Name/Documents/Development/Cloned/bgfx/scripts/genie.lua:63: module 'bgfx-codegen' not found: no field package.preload['bgfx-codegen'] no file 'C:\Users\NoName\Documents\Development\Cloned\bx\tools\bin\windows\lua\bgfx-codegen.lua' no file 'C:\Users\NoName\Documents\Development\Cloned\bx\tools\bin\windows\lua\bgfx-codegen\init.lua' no file 'C:\Users\NoName\Documents\Development\Cloned\bx\tools\bin\windows\bgfx-codegen.lua' no file 'C:\Users\NoName\Documents\Development\Cloned\bx\tools\bin\windows\bgfx-codegen\init.lua' no file 'C:\Users\NoName\Documents\Development\Cloned\bx\tools\bin\windows\..\share\lua\5.3\bgfx-codegen.lua' no file 'C:\Users\NoName\Documents\Development\Cloned\bx\tools\bin\windows\..\share\lua\5.3\bgfx-codegen\init.lua' no file '.\bgfx-codegen.lua' no file '.\bgfx-codegen\init.lua' no file 'C:\Users\NoName\Documents\Development\Cloned\bx\tools\bin\windows\bgfx-codegen.dll' no file 'C:\Users\NoName\Documents\Development\Cloned\bx\tools\bin\windows\..\lib\lua\5.3\bgfx-codegen.dll' no file 'C:\Users\NoName\Documents\Development\Cloned\bx\tools\bin\windows\loadall.dll' no file '.\bgfx-codegen.dll' stack traceback: [C]: in function 'require' ...Name/Documents/Development/Cloned/bgfx/scripts/genie.lua:63: in field 'execute' [string "premake.action = { }..."]:38: in field 'call' [string "_WORKING_DIR = os.getcwd()..."]:76: in function '_premake_main'
Expected behavior
Generated idl
Screenshots
Additional contextOS: Win 10; Terminal: Git BASH for windows
Describe the bug Genie with action "idl" or "version" trying find modules in self root folder To Reproduce Steps to reproduce the behavior:
Building configurations... Running action 'idl'... ...Name/Documents/Development/Cloned/bgfx/scripts/genie.lua:63: module 'bgfx-codegen' not found: no field package.preload['bgfx-codegen'] no file 'C:\Users\NoName\Documents\Development\Cloned\bx\tools\bin\windows\lua\bgfx-codegen.lua' no file 'C:\Users\NoName\Documents\Development\Cloned\bx\tools\bin\windows\lua\bgfx-codegen\init.lua' no file 'C:\Users\NoName\Documents\Development\Cloned\bx\tools\bin\windows\bgfx-codegen.lua' no file 'C:\Users\NoName\Documents\Development\Cloned\bx\tools\bin\windows\bgfx-codegen\init.lua' no file 'C:\Users\NoName\Documents\Development\Cloned\bx\tools\bin\windows\..\share\lua\5.3\bgfx-codegen.lua' no file 'C:\Users\NoName\Documents\Development\Cloned\bx\tools\bin\windows\..\share\lua\5.3\bgfx-codegen\init.lua' no file '.\bgfx-codegen.lua' no file '.\bgfx-codegen\init.lua' no file 'C:\Users\NoName\Documents\Development\Cloned\bx\tools\bin\windows\bgfx-codegen.dll' no file 'C:\Users\NoName\Documents\Development\Cloned\bx\tools\bin\windows\..\lib\lua\5.3\bgfx-codegen.dll' no file 'C:\Users\NoName\Documents\Development\Cloned\bx\tools\bin\windows\loadall.dll' no file '.\bgfx-codegen.dll' stack traceback: [C]: in function 'require' ...Name/Documents/Development/Cloned/bgfx/scripts/genie.lua:63: in field 'execute' [string "premake.action = { }..."]:38: in field 'call' [string "_WORKING_DIR = os.getcwd()..."]:76: in function '_premake_main'
Expected behavior Generated idl Screenshots
Additional context OS: Win 10; Terminal: Git BASH for windows