weavejester/lein-ring — pull request #127 by tranchis (2014-09-27 00:51:41+00:00)
Title: Fixing issue #126 with Leiningen 2.5.0 due to auto-cleaning of targets

Fixing issue #126 with Leiningen 2.5.0 due to auto-cleaning of targets being the default behaviour and thus wiping the auto-compiled main class before packing.

With this fix the auto-clean, if not set to false in project.clj, is made before compile-main.