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.
sourceraw 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.
sourceraw docstring

*eval-print-dup*clj

source

*pump-in*clj

Rebind this to false to disable forwarding in to subprocesses.

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

classpath-argclj

(classpath-arg project)
source

drip-envclj

source

eval-incljmultimethod

Evaluate the given form in various contexts.

Evaluate the given form in various contexts.
sourceraw 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
sourceraw 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.
sourceraw docstring

get-jvm-opts-from-envclj

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

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.
sourceraw 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.
sourceraw docstring

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.
sourceraw 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.
sourceraw 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.
sourceraw 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
sourceraw 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.
sourceraw 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?`.
sourceraw 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.
sourceraw docstring

trampoline-formsclj

source

trampoline-profilesclj

source

trampoline-projectclj

source

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

× close