premake / premake-core

Premake
https://premake.github.io/
BSD 3-Clause "New" or "Revised" License
3.13k stars 611 forks source link

Adjust Tokens.md to correspond to codebase #2192

Closed UAVXP closed 4 months ago

UAVXP commented 4 months ago

Tokens page shows that {MKDIR} only calls mkdir Windows command, so it would be confusing to people who write "if not exist {MKDIR} blabla" when they happen to see an error while compiling

What does this PR do?

It fixes a documentation error

How does this PR change Premake's behavior?

It doesn't

Anything else we should know?

This misbehavior happened to me after I wrote something like "if not exist path {MKDIR} path", so it translated into "if not exist path IF NOT EXIST path (mkdir path)" and got an error.

Did you check all the boxes?

You can now support Premake on our OpenCollective. Your contributions help us spend more time responding to requests like these!