(build-bin {:keys [help jar name skip-realign] :as options})
Core functionality for deps-bin. Can be called from a REPL or as a library. Returns a hash map containing:
:success
-- true
or false
:bin-path
-- On :success
, it is the abs path to the binary.:reason
-- if :success
is false
, this explains what failed:
:help
-- help was requested:no-jar
-- the :jar
option was missing:no-name
-- the :name
option was missing
Additional detail about success and failure is also logged.Core functionality for deps-bin. Can be called from a REPL or as a library. Returns a hash map containing: * `:success` -- `true` or `false` * `:bin-path` -- On `:success`, it is the abs path to the binary. * `:reason` -- if `:success` is `false`, this explains what failed: * `:help` -- help was requested * `:no-jar` -- the `:jar` option was missing * `:no-name` -- the `:name` option was missing Additional detail about success and failure is also logged.
(build-bin-as-main options)
Command-line entry point for -X
(and legacy -M
) that performs
checking on arguments, offers help, and calls (System/exit 1)
if
the BIN-building process encounters errors.
Command-line entry point for `-X` (and legacy `-M`) that performs checking on arguments, offers help, and calls `(System/exit 1)` if the BIN-building process encounters errors.
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 |