Liking cljdoc? Tell your friends :D
Clojure only.

hf.depstar.uberjar

If you want to use depstar as a library, outside of tools.build usage, this provides a general purpose build-jar function.

If you want to use `depstar` as a library, outside of `tools.build`
usage, this provides a general purpose `build-jar` function.
raw docstring

build-jarclj

(build-jar {:keys [help jar] :as options})

Core functionality for depstar. Can be called from a REPL or as a library.

Returns a hash map containing:

  • :success -- true or false
  • :reason -- if :success is false, this explains what failed:
    • :help -- help was requested
    • :no-jar -- the :jar option was missing
    • :aot-failed -- :compile was requested but it threw an exception
    • :copy-failure -- one or more files could not be copied into the JAR

Additional detail about success and failure is also logged.

Core functionality for depstar. Can be called from a REPL or as a library.

Returns a hash map containing:
* `:success` -- `true` or `false`
* `:reason` -- if `:success` is `false`, this explains what failed:
  * `:help` -- help was requested
  * `:no-jar` -- the `:jar` option was missing
  * `:aot-failed` -- `:compile` was requested but it threw an exception
  * `:copy-failure` -- one or more files could not be copied into the JAR

Additional detail about success and failure is also logged.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close