Liking cljdoc? Tell your friends :D

hf.depstar.uberjar


-mainclj

(-main & args)
source

clashcljmultimethod

source

clash-strategyclj

(clash-strategy filename)
source

classifyclj

(classify entry)
source

consume-jarclj

(consume-jar path f)
source

copy!clj

(copy! filename in target last-mod)
source

copy-directoryclj

(copy-directory src dest)
source

copy-optsclj

source

copy-sourceclj

(copy-source src dest options)
source

copy-source*cljmultimethod

source

env-propclj

(env-prop setting)

Given a setting name, get its Boolean value from the environment, validate it, and return the value (or nil if no setting is present).

Given a setting name, get its Boolean value from the environment,
validate it, and return the value (or nil if no setting is present).
sourceraw docstring

errorsclj

source

excluded?clj

(excluded? filename)
source

FSclj

source

help-and-dieclj

(help-and-die)
source

multi-release?clj

source

open-optsclj

source

parse-argsclj

(parse-args args)

Returns a hash map with all the options set from command-line args.

This is to avoid an external dependency on clojure.tools.cli.

Returns a hash map with all the options set from command-line args.

This is to avoid an external dependency on `clojure.tools.cli`.
sourceraw docstring

pathclj

(path s)
source

runclj

(run {:keys [aot classpath debug-clash exclude help jar jar-type main-class
             no-pom verbose]
      :or {jar-type :uber}
      :as options})

Legacy entry point for uberjar invocations.

Can be used with clojure -X:

In :aliases:

      :depstar {:extra-deps {seancorfield/depstar {:mvn/version ...}}}
      :uberjar {:fn hf.depstar.uberjar/run
                :args {:aot true}}

Then run:

      clojure -R:depstar -X:uberjar :jar MyProject.jar :main-class project.core

If the destination JAR file and main class are fixed, they could be added to :args in deps.edn:

      :depstar {:extra-deps {seancorfield/depstar {:mvn/version ...}}}
      :uberjar {:fn hf.depstar.uberjar/run
                :args {:aot true :jar MyProject.jar :main-class project.core}}

Both :jar and :main-class can be specified as symbols or strings.

Legacy entry point for uberjar invocations.

  Can be used with `clojure -X`:

  In `:aliases`:
```clojure
      :depstar {:extra-deps {seancorfield/depstar {:mvn/version ...}}}
      :uberjar {:fn hf.depstar.uberjar/run
                :args {:aot true}}
```
  Then run:
```
      clojure -R:depstar -X:uberjar :jar MyProject.jar :main-class project.core
```
  If the destination JAR file and main class are fixed, they could be
  added to `:args` in `deps.edn`:
```clojure
      :depstar {:extra-deps {seancorfield/depstar {:mvn/version ...}}}
      :uberjar {:fn hf.depstar.uberjar/run
                :args {:aot true :jar MyProject.jar :main-class project.core}}
```
  Both `:jar` and `:main-class` can be specified as symbols or strings.
sourceraw docstring

visit-optsclj

source

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

× close