Skip to content

Instantly share code, notes, and snippets.

@oakes
Last active October 17, 2021 22:57
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save oakes/d85d6f9013d063b07896ffd8f6733a19 to your computer and use it in GitHub Desktop.
Save oakes/d85d6f9013d063b07896ffd8f6733a19 to your computer and use it in GitHub Desktop.
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