avescodes / lein-try

A Leiningen plugin for trying out new libraries
314 stars 13 forks source link

Help says [] are optional, but they don't work at all #20

Closed ulsa closed 10 years ago

ulsa commented 10 years ago

I seem to have the latest version installed:

$ lein ancient latest lein-try
[lein-try "0.4.1"]

$ grep lein-try ~/.lein/profiles.clj
        [lein-try "0.4.1"]]}}

The help says I can use square brackets:

$ lein try -h
Launch REPL with specified dependencies available.

  Usage:

    lein try [io.rkn/conformity "0.2.1"] [com.datomic/datomic-free "0.8.4020.26"]
...

But when I do, it fails:

$ lein try [io.rkn/conformity "0.2.1"]
(Could not transfer artifact [io.rkn:conformity:pom:0.2.1] from/to central (http://repo1.maven.org/maven2/): Illegal character in path at index 30: http://repo1.maven.org/maven2/[io/rkn/conformity/0.2.1]/conformity-0.2.1].pom)
...
avescodes commented 10 years ago

Good catch. We actually removed the square bracket syntax in #16. I'll circle back around and update the readme.