Open rexim opened 8 years ago
For a idea how the message could be, here's the welcome message of scala's repl.
Welcome to Scala 2.11.8 (Java HotSpot(TM) 64-Bit Server VM, Java 1.8.0_101).
Type in expressions for evaluation. Or try :help.
See also the position of this message in the scala sources.
To print some welcome message like Welcome to Morganey REPL (<version>)
we need the current version of Morganey.
One way to achieve this is with the sbt plugin sbt-buildinfo. Using it you can generate sources (containing version numbers) from the sbt build definition.
There are of course multiple ways to implement this, but I just scrolled through the issues and remembered sbt-buildinfo, so i wanted to leave a note.
Right, we use it to properly compose a name of the fatjar to run it for Funtional Testing, if I remember correctly.
REPL should print a standard splash with Welcome message and version of Morganey.