Skip to content

added version number#63

Closed
borkdude wants to merge 2 commits intotrptcolin:masterfrom
borkdude:master
Closed

added version number#63
borkdude wants to merge 2 commits intotrptcolin:masterfrom
borkdude:master

Conversation

@borkdude
Copy link
Copy Markdown
Contributor

Added a version var to initialization.clj (is this the most logical place for it to exist?) and added it to the default-init-code to print like this (in line with the Clojure version number):

macbookair-michiel:bin Borkdude$ ./reply.sh
REPL-y 2.0.0-SNAPSHOT
Clojure 1.3.0
Exit: Control+D or (exit) or (quit)
Commands: (user/help)
Docs: (doc function-name-here)
(find-doc "part-of-name-here")
Source: (source function-name-here)
(user/sourcery function-name-here)
Javadoc: (javadoc java-object-or-class-here)
Examples from clojuredocs.org: [clojuredocs or cdoc](user/clojuredocs name-here)
(user/clojuredocs "ns-here" "name-here")

@trptcolin
Copy link
Copy Markdown
Owner

Cool, I like where this is going. I'd want the version to be the same one from the project.clj, though. Maybe that means having a src/reply/version.clj file with the authoritative version number that gets read in both places?

Thanks for doing this!

@borkdude borkdude closed this May 30, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants