          [main :only [debug info abort]]
          [classpath :only [get-classpath]]]
         [bultitude.core :only [namespaces-on-classpath]]))
+
+;; ### Pre-compilation tasks
 
 (defn code-gen
   "Generates the R.java file from the resources.

  [{:keys [compile-path]} & _]
  (leiningen.clean/delete-file-recursively compile-path :silently))

(defn compile-clojure
  "Taken partly from Leiningen source code.


            manifest-path]} :android,
    :keys [aot aot-exclude-ns] :as project}]
  (info "Compiling Clojure files...")
  (ensure-paths manifest-path)
  (debug "Project classpath:" (get-classpath project))
  (let [nses (namespaces-to-compile project)
        dev-build (dev-build? project)
        compiler-options (if dev-build {} {:elide-meta [:doc :file :line :added
                                                        :arglists :private]})]
    (info (format "Build type: %s, dynamic compilation: %s, remote REPL: %s."
                  (if dev-build "debug" "release")
                  (if (or dev-build start-nrepl-server
