Liking cljdoc? Tell your friends :D

leiningen.core.project

Read project.clj files.

Read project.clj files.
raw docstring

absolutize-pathsclj

(absolutize-paths project)
source

activate-middlewareclj

(activate-middleware project)

A helper function to apply middleware and then load certificates and hooks, since we always do these three things together, at least so far.

A helper function to apply middleware and then load certificates and hooks,
since we always do these three things together, at least so far.
sourceraw docstring

add-profilesclj

(add-profiles project profiles-map)

Add the profiles in the given profiles map to the project map, taking care to preserve project map metadata. Note that these profiles are not merged, merely made available to merge by name.

Add the profiles in the given profiles map to the project map, taking care
to preserve project map metadata. Note that these profiles are not merged,
merely made available to merge by name.
sourceraw docstring

apply-middlewareclj

(apply-middleware project)
(apply-middleware project middleware-name)
source

artifact-idclj

(artifact-id id)
source

artifact-mapclj

(artifact-map id)
source

composite-profile?clj

(composite-profile? profile)

Returns true if the profile is composite, false otherwise.

Returns true if the profile is composite, false otherwise.
sourceraw docstring

default-jvm-optsclj

source

default-profile-metadataclj

source

default-profilesclj

Profiles get merged into the project map. The :dev, :provided, and :user profiles are active by default.

Profiles get merged into the project map. The :dev, :provided, and :user
profiles are active by default.
sourceraw docstring

default-repositoriesclj

source

defaultsclj

source

defprojectcljmacro

(defproject project-name version & args)

The project.clj file must either def a project map or call this macro. See lein help sample to see what arguments it accepts.

The project.clj file must either def a project map or call this macro.
See `lein help sample` to see what arguments it accepts.
sourceraw docstring

dep-keyclj

(dep-key dep)

The unique key used to dedupe dependencies.

The unique key used to dedupe dependencies.
sourceraw docstring

dependency-mapclj

(dependency-map dep)

Transform a dependency vector into a map that is easier to combine with meta-merge. This allows a profile to override specific dependency options.

Transform a dependency vector into a map that is easier to combine with
meta-merge. This allows a profile to override specific dependency options.
sourceraw docstring

dependency-vecclj

(dependency-vec dep)

Transform a dependency map back into a vector of the form: [name/group "version" & opts]

Transform a dependency map back into a vector of the form:
[name/group "version" & opts]
sourceraw docstring

deploy-repositoriesclj

source

empty-dependenciesclj

source

empty-pathsclj

source

empty-repositoriesclj

source

ensure-dynamic-classloaderclj

(ensure-dynamic-classloader)
source

exclusion-mapclj

(exclusion-map spec)

Transform an exclusion vector into a map that is easier to combine with meta-merge. This allows a profile to override specific exclusion options.

Transform an exclusion vector into a map that is easier to combine with
meta-merge. This allows a profile to override specific exclusion options.
sourceraw docstring

exclusion-vecclj

(exclusion-vec exclusion)

Transform an exclusion map back into a vector of the form: [name/group & opts]

Transform an exclusion map back into a vector of the form:
[name/group & opts]
sourceraw docstring

expand-profileclj

(expand-profile project profile)

Recursively expand the keyword profile in project to a sequence of atomic (non-composite) profile keywords.

Recursively expand the keyword `profile` in `project` to a sequence of
atomic (non-composite) profile keywords.
sourceraw docstring

expand-profile-with-metaclj

(expand-profile-with-meta project profile)

Recursively expand the keyword profile in project to a sequence of vectors of atomic (non-composite) profile keywords and their inherited metadata.

Recursively expand the keyword `profile` in `project` to a sequence of
vectors of atomic (non-composite) profile keywords and their inherited
metadata.
sourceraw docstring

expand-profilesclj

(expand-profiles project profiles)

Recursively expand a collection of profiles

Recursively expand a collection of profiles
sourceraw docstring

expand-profiles-with-metaclj

(expand-profiles-with-meta project profiles)

Recursively expand a collection of profiles

Recursively expand a collection of profiles
sourceraw docstring

group-idclj

(group-id id)
source

init-lein-classpathclj

(init-lein-classpath project)

Adds dependencies to Leiningen's classpath if required.

Adds dependencies to Leiningen's classpath if required.
sourceraw docstring

init-profilesclj

(init-profiles project include-profiles & [exclude-profiles])

Compute a fresh version of the project map, including and excluding the specified profiles.

Compute a fresh version of the project map, including and excluding the
specified profiles.
sourceraw docstring

init-projectclj

(init-project project)
(init-project project default-profiles)

Initializes a project by loading certificates, plugins, middleware, etc. Also merges default profiles.

Initializes a project by loading certificates, plugins, middleware, etc.
Also merges default profiles.
sourceraw docstring

load-certificatesclj

(load-certificates project)

Load the SSL certificates specified by the project and register them for use by Aether.

Load the SSL certificates specified by the project and register
them for use by Aether.
sourceraw docstring

load-hooksclj

(load-hooks project & [ignore-missing?])
source

load-pluginsclj

(load-plugins project)
(load-plugins project dependencies-key)
(load-plugins project dependencies-key managed-dependencies-key)
source

makeclj

(make project)
(make project project-name version root)
source

make-project-propertiesclj

(make-project-properties project)
source

merge-profilesclj

(merge-profiles project profiles)

Compute a fresh version of the project map with the given profiles merged into list of active profiles and the appropriate middleware applied.

Compute a fresh version of the project map with the given profiles merged
into list of active profiles and the appropriate middleware applied.
sourceraw docstring

non-leaky-profilesclj

(non-leaky-profiles project)

Return a sequence of profile keywords for the non-leaky profiles currently included in the project.

Return a sequence of profile keywords for the non-leaky profiles
currently included in the project.
sourceraw docstring

normalize-aotclj

(normalize-aot project)
source

normalize-valuesclj

(normalize-values map)

Transform values within a project or profile map to normalized values, such that internal functions can assume that the values are already normalized.

Transform values within a project or profile map to normalized values, such
that internal functions can assume that the values are already normalized.
sourceraw docstring

plugin-varsclj

(plugin-vars project type)
source

pom-scope-profilesclj

(pom-scope-profiles project scope)

Return a sequence of profile keywords for the currently active project profiles with :pom-scope equal to scope.

Return a sequence of profile keywords for the currently active
project profiles with :pom-scope equal to scope.
sourceraw docstring

profile-annotationsclj

(profile-annotations project)

Return a map of profile keyword to profile annotations for the profiles in :include-profiles.

Return a map of profile keyword to profile annotations for the profiles
in :include-profiles.
sourceraw docstring

profile-scope-target-pathclj

(profile-scope-target-path project profiles)
source

profiles-with-matching-metaclj

(profiles-with-matching-meta project pred)

Return a sequence of profile keywords for the project profiles that have metadata that satisfies the predicate, pred.

Return a sequence of profile keywords for the project profiles that
have metadata that satisfies the predicate, pred.
sourceraw docstring

project-profilesclj

(project-profiles project)
source

project-with-profilesclj

(project-with-profiles project)
source

project-with-profiles-metaclj

(project-with-profiles-meta project profiles)
source

readclj

(read)
(read file)
(read file profiles)

Read project map out of file, which defaults to project.clj. Also initializes the project; see read-raw for a version that skips init.

Read project map out of file, which defaults to project.clj.
Also initializes the project; see read-raw for a version that skips init.
sourceraw docstring

read-checkoutsclj

(read-checkouts project)

Returns a list of project maps for this project's checkout dependencies.

Returns a list of project maps for this project's checkout
dependencies.
sourceraw docstring

read-profilesclj

(read-profiles project)

Read profiles from a variety of sources.

We check Leiningen's defaults, system-level profiles (usually in /etc), the profiles.clj file in ~/.lein, the profiles.clj file in the project root, and the :profiles key from the project map.

Read profiles from a variety of sources.

We check Leiningen's defaults, system-level profiles (usually in
/etc), the profiles.clj file in ~/.lein, the profiles.clj file in
the project root, and the :profiles key from the project map.
sourceraw docstring

read-rawclj

(read-raw source)

Read project file without loading certificates, plugins, middleware, etc.

Read project file without loading certificates, plugins, middleware, etc.
sourceraw docstring

retain-whitelisted-keysclj

(retain-whitelisted-keys new original)

Retains the whitelisted keys from the original map in the new one.

Retains the whitelisted keys from the original map in the new one.
sourceraw docstring

set-profilesclj

(set-profiles project include-profiles & [exclude-profiles])

Compute a fresh version of the project map, with middleware applied, including and excluding the specified profiles.

Compute a fresh version of the project map, with middleware applied,
including and excluding the specified profiles.
sourceraw docstring

target-path-subdirsclj

(target-path-subdirs {:keys [target-path] :as project} key)
source

tiered-jvm-optsclj

source

unmerge-profilesclj

(unmerge-profiles project profiles)

Compute a fresh version of the project map with the given profiles unmerged from list of active profiles and the appropriate middleware applied.

Compute a fresh version of the project map with the given profiles unmerged
from list of active profiles and the appropriate middleware applied.
sourceraw docstring

whitelist-keysclj

Project keys which don't affect the production of the jar (sans its name) should be propagated to the compilation phase and not stripped out.

Project keys which don't affect the production of the jar (sans its name)
should be propagated to the compilation phase and not stripped out.
sourceraw docstring

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

× close