Trying to make the file paths in the build output window relative to the current folder, but I can’t make it work properly
The way I call it now: (this works fine but has full paths)
“cmd”: “moai”, “$file”]
My test to see if it would work: (works great, relative paths, but have to hardcode the folder path)
“cmd”: “moai”, “${file/\/path\/to\/folder\///}”]
Non-Working call:
“cmd”: “moai”, “${file/$folder//}”]
I’m assuming that it’s either a escaping issue or some issue with calling a variable in the regex part of the call. Any help would be appreciated.