Title: Locating Scripts | Premake
Open Graph Title: Locating Scripts | Premake
Description: When Premake needs to load a script file, via a call to dofile() or include(), or a module via a call to require(), it uses the premake.path variable to locate it. This is a semicolon-delimited string which, by default, includes the following locations, in the specified order:
Open Graph Description: When Premake needs to load a script file, via a call to dofile() or include(), or a module via a call to require(), it uses the premake.path variable to locate it. This is a semicolon-delimited string which, by default, includes the following locations, in the specified order:
Opengraph URL: https://premake.github.io/docs/Locating-Scripts
Generator: Docusaurus v3.5.2
Domain: premake.github.io
IPv4 address: 185.199.111.153
| twitter:card | summary_large_image |
| og:locale | en |
| docusaurus_locale | en |
| docsearch:language | en |
| docusaurus_version | current |
| docusaurus_tag | docs-default-current |
| docsearch:version | current |
| docsearch:docusaurus_tag | docs-default-current |
Links:
| Server | GitHub.com |
| Content-Type | text/html; charset=utf-8 |
| Via | 1.1 varnish |
| Cache-Control | max-age=600 |
| Last-Modified | Mon, 09 Nov 2026 09:20:22 GMT |
Viewport: width=device-width,initial-scale=1