Abstract
Find some jars and start a Clojure VM with them.
Table of Contents
Find some jars and start a Clojure VM with them.
This is meant to be a simpler, more transparent and faster running alternative to Leiningen's Clojure startup commands. The assumption is that you have a few directories that contain all the jars that you need to run, and you just want to start a Clojure VM with those. Leiningen has been useful to the community, but unfortunately has multiple problems:
This script...
The script is very transparent about what it does (use -v or -vv to have it print full details), there's no hidden magic (in particular, no Maven or Ant stuff). You'll probably enjoy using this if you're not coming to Clojure from a Java background.
Note: this is not an attempt to replace the full functionality of Leiningen, but an attempt to make running Clojure _very_ easy (when you've already fetched all the jars you need).
To run a REPL, invoke one of these:
streamlined [DIR] [DIR ...] --repl streamlined [DIR] [DIR ...] --swank streamlined [DIR] [DIR ...] --nrepl
To start a main program, try this:
streamlined [DIR] [DIR ...] --main [NAMESPACE] -- [ARG1] [ARG2 ...]
Important
This computer program or library is provided for free. I am aware that some of the programs that I provide for free allow people to get their work done faster or better, save them time and money. If you are using this program for benefit, especially if you are using it within a commercial environment and it saves you time or work, please consider making a donation by sending me a book from my Amazon Wishlist or by a direct donation to my company's PayPal account by clicking on the link below.