Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rjray/clojure-tools
My Clojure-related (but mostly non-Clojure-implemented) tools and stuff
https://github.com/rjray/clojure-tools
Last synced: 9 days ago
JSON representation
My Clojure-related (but mostly non-Clojure-implemented) tools and stuff
- Host: GitHub
- URL: https://github.com/rjray/clojure-tools
- Owner: rjray
- Created: 2011-01-03T08:35:16.000Z (almost 14 years ago)
- Default Branch: master
- Last Pushed: 2012-03-17T18:18:17.000Z (almost 13 years ago)
- Last Synced: 2023-04-13T08:26:44.609Z (over 1 year ago)
- Language: Perl
- Homepage:
- Size: 6.24 MB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
clojure-tools
=============This is just a small repo for me to keep track of my Clojure-related tools;
scripts, JAR files, etc. I split this out of my
[dotfiles](https://github.com/rjray/dotfiles) repo since it really didn't fit
the "dotfiles" label any longer.Contents
--------Aside from having copies of clojure.jar, clojure-contrib.jar and any others
that I regularly use, the main contents of this repo are a pair of executable
scripts:### clojure
This is a generalized launcher script for Clojure, written in Perl. It requires
Perl 5.10.0, but uses no external modules, only core Perl. It could be
back-ported to Perl 5.8.0 without too much difficulty. I wrote it because I had
been using a bash script (Jocho's *clojure* script in his
[clojure-extra](https://github.com/jochu/clojure-extra) repository), but found
that I wanted more flexibility in specifying JAR files to the class path, as
well as other options. So I set out to write something only a little more
complex than the original bash script, and ended up with this.It's ended up being actually quite a bit more complex than the bash script.
But that happens, sometimes.
### swank-clojure
This is a less-general script, probably of less interest to others than the
**clojure** script itself. It is a bash script that uses the **clojure** script
to launch a Swank server using my local copy of
[swank-clojure](https://github.com/jochu/swank-clojure). The body of the script
(the eval-code, etc.) hails from the *swank-clojure* script that the leinengen
tool installs when you have it download/install swank-clojure through maven. I
just adapted it to my needs, is all. This is the script I use to start a Swank
server to use with emacs/SLIME. You're welcome to use it, too, but it has some
hard-coded paths that don't have command-line alternates, unlike the
**clojure** script itself.General Use
-----------These are mostly for my own edification, but if others find them useful and
have some helpful suggestions, I'm glad to hear them. For example, **clojure**
is very *nix-centric in how it looks up files and paths, because I generally
don't use Windows platforms. I can fix that, if others really want it, but for
now I have no need to.