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 builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |