Liking cljdoc? Tell your friends :D

leiningen.core.eval

Evaluate code inside the context of a project.

Evaluate code inside the context of a project.
raw docstring

*dir*clj

Directory in which to start subprocesses with eval-in-project or sh.

Directory in which to start subprocesses with eval-in-project or sh.
raw docstring

*env*clj

Environment map with which to start subprocesses with eval-in-project or sh. Merged into the current environment unless ^:replace metadata is attached.

Environment map with which to start subprocesses with eval-in-project or sh.
Merged into the current environment unless ^:replace metadata is attached.
raw docstring

*eval-print-dup*clj


*pump-in*clj

Rebind this to false to disable forwarding in to subprocesses.

Rebind this to false to disable forwarding *in* to subprocesses.
raw docstring

*sh-silent?*clj


classpath-argclj

(classpath-arg project)

drip-envclj


eval-incljmultimethod

Evaluate the given form in various contexts.

Evaluate the given form in various contexts.
raw docstring

eval-in-projectclj

(eval-in-project project form)
(eval-in-project project form init)

Executes form in isolation with the classpath and compile path set correctly for the project. If the form depends on any requires, put them in the init arg to avoid the Gilardi Scenario: http://technomancy.us/143

Executes form in isolation with the classpath and compile path set correctly
for the project. If the form depends on any requires, put them in the init arg
to avoid the Gilardi Scenario: http://technomancy.us/143
raw docstring

get-archcljdeprecated

Returns a keyword naming the host architecture. Deprecated, use leiningen.core.utils/get-arch instead.

Returns a keyword naming the host architecture. Deprecated, use
leiningen.core.utils/get-arch instead.
raw docstring

get-jvm-opts-from-envclj

(get-jvm-opts-from-env env-opts)

get-oscljdeprecated

Returns a keyword naming the host OS. Deprecated, use leiningen.core.utils/get-os instead.

Returns a keyword naming the host OS. Deprecated, use
leiningen.core.utils/get-os instead.
raw docstring

native-arch-pathsclj

(native-arch-paths project)

Paths to the os/arch-specific directory containing native libs.

Paths to the os/arch-specific directory containing native libs.
raw docstring

parse-d-propertyclj

(parse-d-property jvm-arg)

platform-nullsinkcljdeprecated

Returns a file destination that will discard output. Deprecated, use leiningen.core.utils/platform-nullsink instead.

Returns a file destination that will discard output.  Deprecated, use
leiningen.core.utils/platform-nullsink instead.
raw docstring

prepclj

(prep project)

Before we can run eval-in-project we need to prep the project by running javac, compile, and any other tasks the project specifies.

Before we can run eval-in-project we need to prep the project by running
javac, compile, and any other tasks the project specifies.
raw docstring

prep-blockerclj

Block on this to wait till the project is fully prepped.

Block on this to wait till the project is fully prepped.
raw docstring

run-prep-tasksclj

(run-prep-tasks {:keys [prep-tasks] :as project})

Execute all the prep-tasks. A task can either be a string, or a vector if it takes arguments. see :prep-tasks in sample.project.clj for examples

Execute all the prep-tasks. A task can either be a string, or a
vector if it takes arguments. see :prep-tasks in sample.project.clj
for examples
raw docstring

shclj

(sh & cmd)

A version of clojure.java.shell/sh that streams in/out/err.

A version of clojure.java.shell/sh that streams in/out/err.
raw docstring

sh-with-exit-codeclj

(sh-with-exit-code failure-message & cmd)

Applies SH to CMD and on a non-0 exit code, throws an Exception using FAILURE-MESSAGE. A period is appended to FAILURE-MESSAGE. Returns the exit code on success.

FAILURE-MESSAGE must satisfy string?. (first CMD) must satisfy string?.

Applies SH to CMD and on a non-0 exit code, throws an Exception
using FAILURE-MESSAGE. A period is appended to FAILURE-MESSAGE.
Returns the exit code on success.

FAILURE-MESSAGE must satisfy `string?`.
(first CMD) must satisfy `string?`.
raw docstring

shell-commandclj

(shell-command project form)

Calculate vector of strings needed to evaluate form in a project subprocess.

Calculate vector of strings needed to evaluate form in a project subprocess.
raw docstring

trampoline-formsclj


trampoline-profilesclj


trampoline-projectclj

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

× close