Skip to content

Commit

Permalink
[Fix #151] Display JVM and nREPL version information on start
Browse files Browse the repository at this point in the history
  • Loading branch information
Bozhidar Batsov committed Jul 24, 2014
1 parent d9abc32 commit 149a0e8
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/clj/reply/initialization.clj
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,13 @@
(:require [clojure.pprint]
[clojure.repl]
[clojure.main]
[clojure.tools.nrepl :only [version]]
[trptcolin.versioneer.core :as version]))

(def prelude
`[(println "REPL-y" ~(version/get-version "reply" "reply"))
(println "Clojure" (clojure-version))])
`[(println (str "REPL-y " ~(version/get-version "reply" "reply") ", nREPL " (:version-string clojure.tools.nrepl/version)))
(println "Clojure" (clojure-version))
(println (System/getProperty "java.vm.name") (System/getProperty "java.runtime.version"))])

(defn help
"Prints a list of helpful commands."
Expand Down

0 comments on commit 149a0e8

Please sign in to comment.