summaryrefslogtreecommitdiff
path: root/Meta/text-to-cpp-string.sh
AgeCommit message (Collapse)Author
2022-07-12Everywhere: Add sv suffix to strings relying on StringView(char const*)sin-ack
Each of these strings would previously rely on StringView's char const* constructor overload, which would call __builtin_strlen on the string. Since we now have operator ""sv, we can replace these with much simpler versions. This opens the door to being able to remove StringView(char const*). No functional changes.
2021-01-22Meta: Use a bash shebang for text-to-cpp-string.shLinus Groh
Previously we had /bin/sh, which might be bash but is run in POSIX mode on some systems, causing read -r to not work correctly and inserting newlines when encountering literal "\n" in the source. Fixes #5040.
2021-01-03TextEditor+Meta+Ports+Shell: Remove blank lines at the end of some filesEmanuele Torre
2020-12-31Meta: Use a raw string delimiter in text-to-cpp-string.shAndreas Kling
Otherwise we can't have the sequence ')"' in GML :^)
2020-09-14Meta: Make the text-to-cpp-string thingy pass shellcheckAndreas Kling
2020-09-14Meta: Add helper for generating a C++ string from a text fileAndreas Kling