scala-cli icon indicating copy to clipboard operation
scala-cli copied to clipboard

scala-cli export: Long execution time for simple export

Open bjornregnell opened this issue 3 years ago • 0 comments

Version(s)

$ scala-cli version
0.1.4

Describe the bug

When running `scala-cli export --sbt main.scala -o sbt-proj``it takes a looong time to get any output so you might even think that it is hanging...

To Reproduce

$ cat main.scala 
@main def run = println("hello")

$ time scala-cli export --sbt main.scala -o sbt-proj

real    0m8,961s
user    0m6,808s
sys    0m2,177s

Expected behaviour It would be good if 1) it didn't take so long to make a simple export and 2) if there was some initial output / feedback of what is coming and going on and if it takes a long time then there should be some kind of progress information.

bjornregnell avatar Apr 29 '22 14:04 bjornregnell