Liking cljdoc? Tell your friends :D

hf.depstar

Entry point for clojure -X and -T options, as well as usage in a tools.build script.

  (ns build
    (:require [hf.depstar :as d]))

  (-> options-map
      (d/pom)
      (d/aot)
      (d/build))

where options-map must contain, at a minimum, :jar (output file) and :jar-type (:thin or :uber).

There are also two high-level tasks that combine the three steps above (and do not require :jar-type):

  (d/jar options-map)

  (d/uberjar options-map)

If you are using tools.build for creating/syncing pom.xml and/or for compiling Clojure source code, you can use the functions in hf.depstar.api instead, as drop-in replacements for tools.build's API functions for building JAR files.

Entry point for clojure `-X` and `-T` options, as well as usage
  in a tools.build script.
```clojure
  (ns build
    (:require [hf.depstar :as d]))

  (-> options-map
      (d/pom)
      (d/aot)
      (d/build))
```
  where options-map must contain, at a minimum, `:jar` (output
  file) and `:jar-type` (`:thin` or `:uber`).

  There are also two high-level tasks that combine the three
  steps above (and do not require `:jar-type`):
```clojure
  (d/jar options-map)

  (d/uberjar options-map)
```
  If you are using tools.build for creating/syncing pom.xml
  and/or for compiling Clojure source code, you can use the
  functions in hf.depstar.api instead, as drop-in replacements
  for tools.build's API functions for building JAR files.
raw docstring

hf.depstar.api

An API that exposes functions that are compatible with, and intended to be a drop-in replacement for, functions in tools.build.

An API that exposes functions that are compatible with,
and intended to be a drop-in replacement for, functions
in `tools.build`.
raw docstring

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

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

× close