Skip to content

Instantly share code, notes, and snippets.

@oakes oakes/project.clj

Last active May 2, 2020
Embed
What would you like to do?
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
You can’t perform that action at this time.