• (clean project)

0 Examples top

Log in to add / edit an example.

See Also top

Log in to add a see also.

Plus_12x12 Minus_12x12 Source leiningen/clean.clj:14 top

(defn clean [project]
  (println "Cleaning up")
  (delete-file (str (:jar-dir project) "/" (:name project) ".jar") true)
  (delete-file (str (:jar-dir project) "/" (:name project) "-standalone.jar")
               true)
  (doseq [d [(:compile-path project)
             (:library-path project)
             ;; This must be hard-coded since it's needed in bin/lein
             "lib/dev"]]
    (empty-directory (file d) true)))
Vars in leiningen.clean/clean: defn doseq println str
Used in 0 other vars

Comments top

No comments for clean. Log in to add a comment.