Liking cljdoc? Tell your friends :D

borkdude.deps

Port of https://github.com/clojure/brew-install/blob/1.11.1/src/main/resources/clojure/install/clojure in Clojure
raw docstring

-mainclj

(-main & command-line-args)

See help-text.

In addition

  • the values of the CLJ_JVM_OPTS and JAVA_OPTIONS environment variables are passed to the java subprocess as command line options when downloading dependencies and running any other commands respectively.

  • if the clojure tools jar cannot be located and the clojure tools archive is not found, an attempt is made to download the archive from the official site and extract its contents locally. The archive is downloaded from this process directly, unless the CLJ_JVM_OPTS env variable is set and a succesful attempt is made to download the archive by invoking a java subprocess passing the env variable value as command line options.

See `help-text`.

In addition

- the values of the `CLJ_JVM_OPTS` and `JAVA_OPTIONS` environment
variables are passed to the java subprocess as command line options
when downloading dependencies and running any other commands
respectively.

- if the clojure tools jar cannot be located and the clojure tools
archive is not found, an attempt is made to download the archive
from the official site and extract its contents locally. The archive
is downloaded from this process directly, unless the `CLJ_JVM_OPTS`
env variable is set and a succesful attempt is made to download the
archive by invoking a java subprocess passing the env variable value
as command line options.
sourceraw docstring

bool-opts->keywordclj

source

cksumclj

(cksum s)
source

clojure-tools-download-directclj

(clojure-tools-download-direct source dest)

Downloads from SOURCE url to DEST file returning true on success.

Downloads from SOURCE url to DEST file returning true on success.
sourceraw docstring

clojure-tools-jar-downloadclj

(clojure-tools-jar-download out-dir
                            java-args-with-clj-jvm-opts
                            {:keys [debug] :as _opts})

Downloads clojure tools archive in OUT-DIR, if not already there, and extracts in-place the clojure tools jar file and other important files.

The download is attempted directly from this process, unless JAVA-ARGS-WITH-CLJ-JVM-OPTS is set, in which case a java subprocess is created to download the archive passing in its value as command line options.

It calls *exit-fn* if it cannot download the archive, with instructions how to manually download it.

Downloads clojure tools archive in OUT-DIR, if not already there,
and extracts in-place the clojure tools jar file and other important
files.

The download is attempted directly from this process, unless
JAVA-ARGS-WITH-CLJ-JVM-OPTS is set, in which case a java subprocess
is created to download the archive passing in its value as command
line options.

It calls `*exit-fn*` if it cannot download the archive, with
instructions how to manually download it.
sourceraw docstring

deps-clj-versionclj

source

describeclj

(describe lines)
source

describe-lineclj

(describe-line [kw val])
source

help-textclj

source

home-dirclj

(home-dir)
source

java-execlj

source

jvm-proxy-settingsclj

(jvm-proxy-settings)
source

non-blankclj

(non-blank s)
source

parse-argsclj

(parse-args args)
source

parse-opts->keywordclj

source

parse-proxy-infoclj

(parse-proxy-info s)
source

path-separatorclj

source

proxy-infoclj

(proxy-info m)
source

shell-commandclj

(shell-command args)
(shell-command args {:keys [:to-string?]})

Executes shell command.

Accepts the following options:

:to-string?: instead of writing to stdoud, write to a string and return it.

Executes shell command.

Accepts the following options:

`:to-string?`: instead of writing to stdoud, write to a string and
return it.
sourceraw docstring

string-opts->keywordclj

source

unixifyclj

(unixify f)
source

unzipclj

(unzip zip-file destination-dir)
source

vconjclj

source

versionclj

source

warnclj

(warn & strs)
source

whichclj

(which executable)
source

windows?clj

source

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

× close