mirror of https://github.com/sbt/sbt.git
Print the temporary base directory when pausing in a scripted test.
This commit is contained in:
parent
4048a1ec08
commit
2d64611080
|
|
@ -19,7 +19,7 @@ class FileCommands(baseDirectory: File) extends BasicStatementHandler
|
||||||
"absent" nonEmpty absent _,
|
"absent" nonEmpty absent _,
|
||||||
// "sync" twoArg("Two directory paths", sync _),
|
// "sync" twoArg("Two directory paths", sync _),
|
||||||
"newer" twoArg("Two paths", newer _),
|
"newer" twoArg("Two paths", newer _),
|
||||||
"pause" noArg { readLine("Press enter to continue. "); println() },
|
"pause" noArg { println("Pausing in " + baseDirectory); readLine("Press enter to continue. "); println() },
|
||||||
"sleep" oneArg("Time in milliseconds", time => Thread.sleep(time.toLong) ),
|
"sleep" oneArg("Time in milliseconds", time => Thread.sleep(time.toLong) ),
|
||||||
"exec" nonEmpty(execute _ ),
|
"exec" nonEmpty(execute _ ),
|
||||||
"copy" copy (to => rebase(baseDirectory, to)),
|
"copy" copy (to => rebase(baseDirectory, to)),
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue