Liking cljdoc? Tell your friends :D

leiningen.compile

Compile Clojure source into .class files.

Compile Clojure source into .class files.
raw docstring

clean-non-project-classesclj

(clean-non-project-classes project)
source

compilable-namespacesclj

(compilable-namespaces {:keys [aot source-paths] :as project})

Returns a seq of the namespaces that are compilable, regardless of whether their class files are present and up-to-date.

Returns a seq of the namespaces that are compilable, regardless of whether
their class files are present and up-to-date.
sourceraw docstring

compilation-specsclj

(compilation-specs cli-args)
source

compileclj

(compile project)
(compile project & args)

Compile Clojure source into .class files.

Uses the namespaces specified under :aot in project.clj or those given as command-line arguments. Use :all argument to compile everything. Pass #"regular expressions" to compile any matching namespaces. You may need to escape punctuation for your shell.

This should automatically happen when required if it's configured correctly; it shouldn't need to be manually invoked. See the javac task as well.

Compiling code loads the namespace, so keep side-effects out of the top level. Code that should run on startup belongs in a -main defn.

Compile Clojure source into .class files.

Uses the namespaces specified under :aot in project.clj or those given
as command-line arguments. Use :all argument to compile everything. Pass
#"regular expressions" to compile any matching namespaces. You may need
to escape punctuation for your shell.

This should automatically happen when required if it's configured correctly; it
shouldn't need to be manually invoked. See the javac task as well.

Compiling code loads the namespace, so keep side-effects out of the top level.
Code that should run on startup belongs in a -main defn.
sourceraw docstring

regex?clj

(regex? str-or-re)
source

stale-namespacesclj

(stale-namespaces project)

Return a seq of namespaces that are both compilable and that have missing or out-of-date class files.

Return a seq of namespaces that are both compilable and that have missing or
out-of-date class files.
sourceraw docstring

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

× close