Mill is a fast JVM build tool that supports Java and Scala. 2-4x faster than Gradle and 4-10x faster than Maven for common workflows, Mill aims to make your project’s build process performant, maintainable, and flexible
This is a precaution for cases when the .mill-version file can contain a Windows line end \r\n instead of the typical Unix line end \n. Without this fix, in such situation the script breaks in a spectacular and surprising way.
The error it was giving looked like this:
$ mill __.compile
curl: (3) URL using bad/illegal format or missing URL
Where mill is pointing to the wrapper script that I'm changing in this PR
This is a precaution for cases when the
.mill-version
file can contain a Windows line end\r\n
instead of the typical Unix line end\n
. Without this fix, in such situation the script breaks in a spectacular and surprising way.The error it was giving looked like this:
Where
mill
is pointing to the wrapper script that I'm changing in this PR