On Tuesday, October 8, 2013 12:52:38 PM UTC-4, Phil Hagelberg wrote:
>
> On Monday, October 7, 2013 8:12:05 PM UTC-7, John Gabriele wrote:
>>
>> For new users who want to get their feet wet right on the first day, I'd 
>> suggest this (after they make sure they've got Java installed):
>>
>>  #. Download `lein`, drop it into your ~/bin, and `chmod +x` it if 
>> necessary,
>>  #. `lein version` (so it installs and thus creates ~/.lein directory 
>> (see next step))
>>  #. `touch ~/.lein/profiles.clj`, and into that file put `{:user 
>> {:plugins [[lein-exec "0.3.1"]]}}` (or whatever the current version of 
>> [lein-exec] is when you're reading this. :)
>>
>
> You don't need a plugin for that actually:
>
> $ lein run -m clojure.main/main -i foo.clj
>
> Maybe a shell alias or lein alias would be more convenient though.
>

Thanks Phil! Didn't know you could do that! Wrote up some notes on getting 
it working: 
<http://www.unexpected-vortices.com/blog/2013/scripts-in-clojure.html>

-- John

-- 
-- 
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
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to