premake/website/docs/premake_MAIN_SCRIPT_DIR.md
KyrietS 19f8561bd8 Upgrade docusaurus version to beta.6
- some files had to be renamed as files prefixed with an underscore are ignored now
- docusaurus reserves /docs/tags path so we can't have a page there
2021-09-08 21:42:18 +02:00

16 lines
491 B
Markdown

---
id: _MAIN_SCRIPT_DIR
---
The `_MAIN_SCRIPT_DIR` global variable stores the full path to the directory which contains the main project script. This will be the value passed to the `--file` command line argument, or the location of the initial premake5.lua script if no `--file` argument was specified.
### Availability ###
Premake 5.0 or later.
## See Also ##
* [_MAIN_SCRIPT](premake_MAIN_SCRIPT.md)
* [_PREMAKE_DIR](premake_PREMAKE_DIR.md)
* [_WORKING_DIR](premake_WORKING_DIR.md)