I created a leiningen plugin especially for this purpose - when you just
want to play with a library/a set of libraries and creating a brand new
leiningen project feels too much. It's called lein-oneoff and available
here:

https://github.com/mtyaka/lein-oneoff

It assumes your program/script to consist of a single file. You declare
dependencies at the top of the file and then you can either run the script
or start a repl or swank server with the classpath correctly set up for you.
The plugin will download any missing dependencies and install them into the
local maven repository automatically.

Please see the README for more info.

- Matjaz


On Sat, Dec 4, 2010 at 6:47 AM, Asim Jalis <asimja...@gmail.com> wrote:

> Thanks! This is exactly what I was looking for.
>
> On Fri, Dec 3, 2010 at 6:12 PM, Alan Dipert <a...@dipert.org> wrote:
> > Hi,
> > David Liebke's cljr may meet your needs: https://github.com/liebke/cljr
> >
> > I also maintain a fork over at https://github.com/alandipert/cljr that
> > runs Clojure 1.3-alpha3.
> >
> > HTH,
> > Alan
> >
> > On Fri, Dec 3, 2010 at 9:04 PM,  <buckmeist...@gmail.com> wrote:
> >> I second the recommendation to use leiningen.
> >>
> >> I can relate to your position of just wanting to play with the libraries
> and
> >> not being ready to create projects.
> >>
> >> But I'm not a classpath ninja of epic proportions. Really, I don't have
> a
> >> desire to be that. If you aren't either, you will want to use leiningen
> and
> >> create a project, following Sunil's instructions (and technomancy's
> readme
> >> at github is good for more detail/options). I found that for me, trying
> to
> >> use clojure without leiningen or a similar tool was a mistake.
> >>
> >> Thanks,
> >> Peter
> >>
> >> ________________________________
> >> From: Sunil S Nandihalli <sunil.nandiha...@gmail.com>
> >> Sender: clojure@googlegroups.com
> >> Date: Sat, 4 Dec 2010 07:12:23 +0530
> >> To: <clojure@googlegroups.com>
> >> ReplyTo: clojure@googlegroups.com
> >> Subject: Re: Easy Way To Download Clojure Libraries From Git
> >> Hi Asim,
> >>  just do
> >> lein new
> >> and add
> >> [clojureql "1.0.0-beta2-SNAPSHOT"]  to your dependencies in project.clj
> >> and run
> >> lein deps
> >>  it will automatically download all the necessary dependencies.
> >> If you directly want to do it from github .. I don't know how to do
> that.
> >> Sunil.
> >>
> >> On Sat, Dec 4, 2010 at 6:23 AM, Asim Jalis <asimja...@gmail.com> wrote:
> >>>
> >>> Is there an easy way to download Clojure libraries from Git and to
> >>> play with them in the repl?
> >>>
> >>> It looks like all of them expect to be downloaded using leiningen, and
> >>> leiningen requires creating a project, with dependencies on specific
> >>> libraries.
> >>>
> >>> It would be nice if I could do something like: lein install
> >>> https://github.com/LauJensen/clojureql and it would just grab it and
> >>> install it and all its dependencies.
> >>>
> >>> My goal is just to play with different libraries -- I am not consuming
> >>> them in projects yet.
> >>>
> >>> Asim
> >>>
> >>> --
> >>> 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<clojure%2bunsubscr...@googlegroups.com>
> >>> For more options, visit this group at
> >>> http://groups.google.com/group/clojure?hl=en
> >>
> >> --
> >> 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<clojure%2bunsubscr...@googlegroups.com>
> >> For more options, visit this group at
> >> http://groups.google.com/group/clojure?hl=en
> >>
> >> --
> >> 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<clojure%2bunsubscr...@googlegroups.com>
> >> For more options, visit this group at
> >> http://groups.google.com/group/clojure?hl=en
> >
> > --
> > 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<clojure%2bunsubscr...@googlegroups.com>
> > For more options, visit this group at
> > http://groups.google.com/group/clojure?hl=en
>
> --
> 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<clojure%2bunsubscr...@googlegroups.com>
> For more options, visit this group at
> http://groups.google.com/group/clojure?hl=en
>

-- 
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