os.locate
Searches the Premake path for files.
os.locate("file_name1", ...)
Parameters
file_name
is file name for which to search. It may contain some path information, e.g xcode/xcode.lua
.
Return Value
The full path to the first file found, or nil if the files could not be located.
Availability
Premake 5.0 or later.