(build-init-form {{:keys [init init-ns]} :repl-options :keys [global-vars]})
(format-nrepl-options {:keys [transport nrepl-handler socket nrepl-middleware
host port]})
(middleware* {:keys [repl-options java-source-paths]
{:keys [main] :or {main default-main}} :enrich-classpath
:as project})
(wrap-try init-ns init global-vars)
Wraps init
in a try/catch because otherwise clojure.main
can fail at startup, while 'init' errors can often be remediated by the user later.
Wraps `init` in a try/catch because otherwise `clojure.main` can fail at startup, while 'init' errors can often be remediated by the user later.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close