leiningen icon indicating copy to clipboard operation
leiningen copied to clipboard

uberjar should not rebuild the jar with :auto-clean false and no changes

Open arr-ee opened this issue 9 years ago • 0 comments

Follow up for irc conversation.

With lein 2.5.1,

  • run lein new app testapp
  • add :auto-clean false to project.clj (I also tried adding it to uberjar profile`)
  • run lein uberjar twice
  • Compilation runs only once, but jars are regenerated every time

This is very annoying in large-ish projects, especially when you need to run uberjar several times in a row (i.e. when building packages).

arr-ee avatar Jan 28 '15 23:01 arr-ee