Closed Kapendev closed 5 months ago
Oh sorry the first flag I put it wrong. It should be release-debug
instead of debug-release
.
I'll try to get into point 2 asap too
I wasn't able to reproduce this issue on Windows. This looks like very strange. I'll have to take a look in unbuntu
redub's redub/source/redub/parsers/environment.d(259) with imported!"std.stdio".writeln("Return: ", ret, " [Start: ", outStart, "] Source: ", str, " [Start: ", srcStart, "]");
, build it and test against your project then send me what it shows?
Fixed:
The problem was that the parser was failing in some situations when trying to escape $
.
Test Case Added:
assert(parseStringWithEnvironment("$$ORIGIN") == "$ORIGIN");
I wanted to try redub, but I had some problems with it. Some info about my setup:
So:
dub -b debug-release --compiler=ldc2
but I get this error message:Unknown build type for redub: 'debug-release'
. Building withdub build
seems to work.core.exception.RangeError@/home/alex/Documents/redub/source/redub/parsers/environment.d(259): Range violation
. My project depends on one library. I also put that library inside my project's source folder but I had the same error.For some extra info about 2, the library that I use with my project is this one.