scala-cli
scala-cli copied to clipboard
When using process substitution or -e, Scala CLI shouldn't create .scala-build in the current directory
Version(s)
0.1.16
Describe the bug Running commands such as
$ scala-cli <(echo 'println("Hello")')
$ scala-cli -e 'println("Hello")'
creates a .scala-build
directory, and uses it to compile the provided input. Scala CLI should rather use a directory under the home directory for that purpose.