Last active
October 17, 2021 22:57
-
-
Save oakes/d85d6f9013d063b07896ffd8f6733a19 to your computer and use it in GitHub Desktop.
Using Paravim with Leiningen
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(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