Fix Codelite/gmake2 `buildmessage` escaping.
What does this PR do?
Fix escaping for buildmessage for gmake2 and codelite
How does this PR change Premake's behavior?
Escape double quote and backslash in quoted
Anything else we should know?
Tested with https://github.com/Jarod42/premake-sample-projects/actions with branch custom_rule_check_quote_in_message
Did you check all the boxes?
- [x] Focus on a single fix or feature; remove any unrelated formatting or code changes
- [x] Add unit tests showing fix or feature works; all tests pass
- [ ] Mention any related issues (put
closes #XXXXin comment to auto-close issue when PR is merged) - [x] Follow our coding conventions
- [x] Minimize the number of commits
- [ ] Align documentation to your changes
You can now support Premake on our OpenCollective. Your contributions help us spend more time responding to requests like these!
[ FAILED ] premake_http.https_get_verify_peer HTTP response code said error The requested URL returned error: 504 Gateway Time-out
Unrelated to my changes. :-) Not the first time that those tests failed randomly BTW.