clojure-android / lein-droid

A Leiningen plugin for building Clojure/Android projects
Eclipse Public License 1.0
645 stars 56 forks source link

:target-path is not properly supported #101

Closed AdamClements closed 9 years ago

AdamClements commented 9 years ago

(note: I actually wrote the code that needs tweaking here - this is just to flag the issue up, I will try and find time to fix it myself)

:target-path is a leiningen option that lets you set the output directory to something other than "target/", which is especially useful when combined with "target/%s/" which creates a different output directory per profile configuration - which means not having to do a clean build as often when switching between local repl builds and droid apk builds.

All generated files should go into the target-path directory by default, and things like gen-path should support specifying a version with a %s which substitutes in the target directory.

Generated AndroidManifest should also output to target-path by default

alexander-yakushev commented 9 years ago

I agree, I already changed the code related to this, and it's waiting to be pushed.

On a related note, I just realized that you can actually put debug and release builds into separate folder and avoid cleaning the target between them too.

alexander-yakushev commented 9 years ago

Pushed with 0.3.0-beta1.