Entry point for clojure -X options.
Entry point for clojure -X options.
(bin options)
Generic entry point for bin invocations.
Can be used with clojure -X
:
In :aliases
:
:bin {:replace-deps {ericdallo/deps-bin {:mvn/version ...}}
:exec-fn deps-bin.deps-bin/bin
:exec-args {:name "myBin"}}
Then run:
clojure -X:bin :jar MyProject.jar
If the source JAR file is fixed, it could be added to :exec-args
in
deps.edn
:
:jar {:replace-deps {ericdallo/deps-bin {:mvn/version ...}}
:exec-fn deps-bin.deps-bin/bin
:exec-args {:jar MyProject.jar}}
:jar
can be specified as a symbol or a string.
:name
can be specified as a symbol or a string.
Generic entry point for bin invocations. Can be used with `clojure -X`: In `:aliases`: ```clojure :bin {:replace-deps {ericdallo/deps-bin {:mvn/version ...}} :exec-fn deps-bin.deps-bin/bin :exec-args {:name "myBin"}} ``` Then run: ``` clojure -X:bin :jar MyProject.jar ``` If the source JAR file is fixed, it could be added to `:exec-args` in `deps.edn`: ```clojure :jar {:replace-deps {ericdallo/deps-bin {:mvn/version ...}} :exec-fn deps-bin.deps-bin/bin :exec-args {:jar MyProject.jar}} ``` `:jar` can be specified as a symbol or a string. `:name` can be specified as a symbol or a string.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close