Using Paravim with Leiningen
(defproject lein-paravim "0.1.0-SNAPSHOT" | |
:dependencies [[org.clojure/clojure "1.10.1"]] | |
; since paravim is in the `:dev` profile, | |
; it will launch when you do `lein run`. | |
; if you don't want that behavior, | |
; just change `:dev` to something else. | |
; if you change it to `:paravim`, you can | |
; launch it by doing `lein with-profile paravim run` | |
:profiles {:dev {:dependencies [[paravim "RELEASE"]] | |
:main paravim.start | |
; on mac os, an additional jvm arg must be added | |
; so opengl can work correctly | |
:jvm-opts ~(if (= "Mac OS X" (System/getProperty "os.name")) | |
["-XstartOnFirstThread"] | |
[])}}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment