clojure-android / lein-droid

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

Assets-path should take a vector #102

Closed AdamClements closed 9 years ago

AdamClements commented 9 years ago

I quite often find myself needing to include more than one assets directory (one android-specific and one cross-platform for example), the current version only allows us to specify one, I would like to specify a list.

alexander-yakushev commented 9 years ago

Will it be reasonable to expect that the first folder in that vector will be the android-specific asset dir? I use assets to create a file so it can be used later for data readers instantiation. Albeit I can probably rewrite it to use the regular macro-hardcompile technique...

AdamClements commented 9 years ago

That sounds to me like what you actually want to do is create a target/generated-assets and add it to the assets list, would that work better?

alexander-yakushev commented 9 years ago

Possibly so, still I will also try the file-less approach too.

alexander-yakushev commented 9 years ago

Fixed in 0.3.0-beta1. assets-path now became assets-paths which is a vector. There is different folder called assets-gen that is created inside target directory, and it is treated differently, so you don't have to worry about it.