Re: [ANN]: Introducing lein-try

2013-07-14 Thread Ryan Neufeld
Can you pop that in an issue on the project. In the mean time I'll see if I reproduce that problem. On Jul 13, 2013 11:30 PM, Sean Corfield seancorfi...@gmail.com wrote: It doesn't work when I spell it correctly either (and I had done several tests - but of course the results of misspelling it

Re: [ANN]: Introducing lein-try

2013-07-14 Thread Softaddicts
After reading this thread, I think we need another plug in to try the try plugin which in turn may fail which would trigger the need for another try plugin which Isn't this recursive a bit ? : Luc Can you pop that in an issue on the project. In the mean time I'll see if I reproduce

Re: [ANN]: Introducing lein-try

2013-07-14 Thread Ryan Neufeld
I figured there was a joke somewhere in there, but I just couldn't tease a good one out ;) On Jul 14, 2013 9:54 AM, Softaddicts lprefonta...@softaddicts.ca wrote: After reading this thread, I think we need another plug in to try the try plugin which in turn may fail which would trigger the

Re: [ANN]: Introducing lein-try

2013-07-14 Thread Softaddicts
Nice ... try :) Luc I figured there was a joke somewhere in there, but I just couldn't tease a good one out ;) On Jul 14, 2013 9:54 AM, Softaddicts lprefonta...@softaddicts.ca wrote: After reading this thread, I think we need another plug in to try the try plugin which in turn may

Re: [ANN]: Introducing lein-try

2013-07-14 Thread Sean Corfield
https://github.com/rkneufeld/lein-try/issues/3 Let me know if I can help with testing or provide any additional information. Sean On Sun, Jul 14, 2013 at 7:42 AM, Ryan Neufeld r...@thinkrelevance.com wrote: Can you pop that in an issue on the project. In the mean time I'll see if I reproduce

[ANN]: Introducing lein-try

2013-07-13 Thread Ryan Neufeld
Hey folks, Don't you hate it when someone releases a cool new library and you have to go into a project and add an unwanted dependency just to try it out? Worse, maybe you decide to 'lein new delete-me' and add it there. No more! Stop this madness. Use lein-try to quickly launch a REPL with

Re: [ANN]: Introducing lein-try

2013-07-13 Thread xumingmingv
cool! 发自我的 iPhone 在 2013-7-13,21:56,Ryan Neufeld r...@thinkrelevance.com 写道: Hey folks, Don't you hate it when someone releases a cool new library and you have to go into a project and add an unwanted dependency just to try it out? Worse, maybe you decide to 'lein new delete-me' and add

Re: [ANN]: Introducing lein-try

2013-07-13 Thread Brandon Bloom
This is awesome! I've totally wanted this. Unfortunately, I can't get it to work... ~ $ lein try '[clj-time 0.5.1]' nREPL server started on port 61689 REPL-y 0.1.10 Clojure 1.5.1 Exit: Control+D or (exit) or (quit) Commands: (user/help) Docs: (doc function-name-here) (find-doc

Re: [ANN]: Introducing lein-try

2013-07-13 Thread Steven Degutis
It looks like you're not supposed to quote the arguments you pass it. On Sat, Jul 13, 2013 at 11:27 AM, Brandon Bloom brandon.d.bl...@gmail.comwrote: This is awesome! I've totally wanted this. Unfortunately, I can't get it to work... ~ $ lein try '[clj-time 0.5.1]' nREPL server started on

Re: [ANN]: Introducing lein-try

2013-07-13 Thread Brandon Bloom
Odd. I just assumed that the arguments were being joined by spaces, then clojure.core/read, rather than parsed as individual arguments. Not all of us use Bash... square brackets are used for special patterns in Zsh. Without quotes, the arguments are being interpreted in this way: lein try

Re: [ANN]: Introducing lein-try

2013-07-13 Thread Steven Degutis
I think it also works with just: lein try clj-time 0.5.1, no quotes, no brackets. On Sat, Jul 13, 2013 at 11:54 AM, Brandon Bloom brandon.d.bl...@gmail.comwrote: Odd. I just assumed that the arguments were being joined by spaces, then clojure.core/read, rather than parsed as individual

Re: [ANN]: Introducing lein-try

2013-07-13 Thread Sean Corfield
This seems to work beautifully outside a project - and it's very useful! I will no longer need to create a million scratch projects to try stuff out - thank you! However, inside a project, I can't get it to work. (! 501)- cd clojure (! 502)- lein try hiccup 1.0.2 nREPL server started on port

Re: [ANN]: Introducing lein-try

2013-07-13 Thread Daniel Dinnyes
Well, that's the most convenient way it should work anyway, just a list of key, value, key, value, key, value argument list. Easy to implement. Accepting brackets is criminal. On Saturday, July 13, 2013 6:13:21 PM UTC+1, Steven Degutis wrote: I think it also works with just: lein try clj-time

Re: [ANN]: Introducing lein-try

2013-07-13 Thread Daniel Dinnyes
Looks promising though. Pomegranate is significantly more complex, and I could never remember the name of the function which dynamically loads the libs. On Sunday, July 14, 2013 12:55:55 AM UTC+1, Daniel Dinnyes wrote: Well, that's the most convenient way it should work anyway, just a list of

Re: [ANN]: Introducing lein-try

2013-07-13 Thread Daniel Dinnyes
Also, I would call it repl-deps or repl-with-deps. Not as short, but who knows, maybe later on it will be merged into `repl` as some option argument; such naming would support that intention. It is more descriptive too. When I first saw the post I thought `lein try` will be about testing

Re: [ANN]: Introducing lein-try

2013-07-13 Thread Ryan Neufeld
It looks like you tried to use hiccup.ocre instead of core -- -- 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

Re: [ANN]: Introducing lein-try

2013-07-13 Thread Ryan Neufeld
I use zsh too and have to prefix commands with noglob. Additional robustness and caveats documentation will be necessary. Pull requests welcomed. -- -- You received this message because you are subscribed to the Google Groups Clojure group. To post to this group, send email to

Re: [ANN]: Introducing lein-try

2013-07-13 Thread Sean Corfield
It doesn't work when I spell it correctly either (and I had done several tests - but of course the results of misspelling it look the same as it not working - and it's indicative of my day that I pasted the result of a bad test! :) C:\Users\Sean\clojurelein new five ... C:\Users\Sean\clojurecd