Here's a working version of what I'm looking for. I'm sure the code is not ideal, I can pass it through someone on my team who actually uses clojure, but it will give you an idea what I'm thinking.
With this, and a :custom-preamble "#!/bin/sh\nexec java FLAGS -Xbootclasspath/a:$0 MAIN \"$@\"\n", I get what I was looking for. (I've effected the bootclasspath manually, as you see.)
Happy to hear suggested changes which I can make before you merge.
Here's a working version of what I'm looking for. I'm sure the code is not ideal, I can pass it through someone on my team who actually uses clojure, but it will give you an idea what I'm thinking.
With this, and a
:custom-preamble "#!/bin/sh\nexec java FLAGS -Xbootclasspath/a:$0 MAIN \"$@\"\n"
, I get what I was looking for. (I've effected the bootclasspath manually, as you see.)Happy to hear suggested changes which I can make before you merge.