Details
-
Type:
Enhancement
-
Status:
Open
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: None
-
Labels:
Description
Currently there is no function or var defined in the clojurescript library that can be used to easily obtain the version information of the build that is in use.
Without that version information, debugging and reporting of errors is more cumbersome than needed, wastes time, causes confusion discussing issues...
A simple function and/or var like the ones used for clojure would be very helpful:
user=> (clojure-version)
"1.4.0"
user=> clojure-version
{:major 1, :minor 4, :incremental 0, :qualifier nil}
Auto-generation from the build script of version_autogen.clj and version_autogen.cljs files
that both define the cljs.version-autogen/clojurescript-version
with the current version info for both the clj and cljs environments