swannodette / mies

Minimal ClojureScript project template
Eclipse Public License 1.0
369 stars 49 forks source link

Old source being pulled in from target/classes #49

Closed kennytilton closed 6 years ago

kennytilton commented 6 years ago

I was stumped by an old version of code from a second repo running, even after lein clean and confirming the clojars version of the second repo was at least being pulled down during scripts/build.

I finally figured out that the old code was being found it in target/classes, ignoring the version on clojars. Does the target directory need to be on the "clean-targets" list.

I am sure I created this mess, mind you. I was using symlinks in the checkouts directory, or perhaps these files were created when the separate repos were all part of the problematic repo -- I started that way then split things out into separate repos.

But would there be any harm in zapping target on a lein clean under this template?

mneise commented 6 years ago

Added the :target-path to :clean-targets with the newest release.