On Apr 25, 11:51 pm, Sam Aaron <samaa...@gmail.com> wrote:
> I was originally using lein and the native-deps plugin for my projects, but 
> it's much more cumbersome than cake's approach.
>
> On the periphery it doesn't seem too bad, in your project.clj you need to 
> include native-deps in your :dev-dependencies, and then specify the actual 
> native deps in :native-dependencies as follows:
>
> (defproject org.clojars.samaaron/monome-serial "0.1.3"
>   :description "An interface to the monome (http://monome.org)"
>   :dependencies [[org.clojure/clojure "1.2.0"]
>                  [org.clojure/clojure-contrib "1.2.0"]]
>   :dev-dependencies [[native-deps "1.0.5"]]
>   :native-dependencies [[org.clojars.samaaron/rxtx "2.2.0"]])
>
> Pulling all the deps is a two step process:
>
> * lein deps
> * lein native-deps

Hmm; that's silly. I wonder why the plugin works that way. Maybe it
was developed before hooks were added to Leiningen. I think I'll try
to make Leiningen 1.6 work with this stuff built-in.

-Phil

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Reply via email to