(defn ^String clojurescript-version
"Returns clojurescript version as a printable string."
[]
(if (bound? #'*clojurescript-version*)
(str
(:major *clojurescript-version*)
"."
(:minor *clojurescript-version*)
(when-let [i (:incremental *clojurescript-version*)]
(str "." i))
(when-let [q (:qualifier *clojurescript-version*)]
(str "." q))
(when (:interim *clojurescript-version*)
"-SNAPSHOT"))
"0.0.0000"))