Compile Clojure source into .class files.
Compile Clojure source into .class files.
(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.
(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.
(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.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close