John Gabriele <jmg3...@gmail.com> writes: > 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. :) ) > > [lein-exec]: https://github.com/kumarshantanu/lein-exec > > Now you can create your "hello world" about as simply as with P{erl,ython}: > > #. create a ~/wherever/foo.clj file, > #. into it goes `(println "hi")`, then > #. run it in the prescribed way: `lein exec foo.clj`.
That's interesting, didn't know about lein-exec (although I'm not surprised someone has written it). 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 --- 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.