Closed guns closed 10 years ago
No problem, I have bootcamp. Might be a bit before I can test it though. I don't even have lein installed on it.
On Thu, May 23, 2013 at 8:10 PM, Sung Pae notifications@github.com wrote:
cf. Issue #13 Took me a moment to write it, then like an hour of trying to boot an old Windows VM to test it before giving up. Points for trying? You can merge this Pull Request by running: git pull https://github.com/guns/lein-bin JVM_OPTS Or you can view, comment on it, or merge it online at: https://github.com/Raynes/lein-bin/pull/14 -- Commit Summary --
- Support extra java arguments via JVM_OPTS environment variable -- File Changes -- M src/leiningen/bin.clj (8) -- Patch Links -- https://github.com/Raynes/lein-bin/pull/14.patch https://github.com/Raynes/lein-bin/pull/14.diff
Revisited this today, and realized that I can embed environment variables into the :jvm-opts
project entry:
:jvm-opts ~(if-let [jvm-opts (System/getenv "JVM_OPTS")]
(clojure.string/split jvm-opts #"\s+")
[])
Therefore there is no need for direct support. Thanks!
cf. Issue #13
Took me a moment to write it, then like an hour of trying to boot an old Windows VM to test it before giving up. Points for trying?