This repository has been archived on 2022-12-23. You can view files and clone it, but cannot push or open issues or pull requests.
fuck-premake-old2/website/docs/premake_MAIN_SCRIPT.md

16 lines
466 B
Markdown
Raw Normal View History

---
id: _MAIN_SCRIPT
---
2021-03-11 20:29:22 +00:00
The `_MAIN_SCRIPT` global variable stores the full path to 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_DIR](premake_MAIN_SCRIPT_DIR.md)
* [_PREMAKE_DIR](premake_PREMAKE_DIR.md)
* [_WORKING_DIR](premake_WORKING_DIR.md)