nextjournal / clojure-mode

Clojure/Script mode for CodeMirror 6
https://nextjournal.github.io/clojure-mode/
Eclipse Public License 2.0
158 stars 18 forks source link

Clojars artifact #15

Open yogthos opened 3 years ago

yogthos commented 3 years ago

Any chance of an artifact getting published to Clojars to make it easier to use with Leiningen based projects? :)

mk commented 3 years ago

Hi @yogthos, we've been avoiding publishing it as a jar to signal the alpha / subject to change status of the api. Can try to package things up if you understand that changes might still happen.

yogthos commented 3 years ago

Yeah that would work for me, and tagging the release version as alpha would probably be reasonable to indicate that it's subject to change. :+1:

yogthos commented 3 years ago

in the meantime lein-tools-deps plugin will work by adding the following in project.clj

:plugins [[lein-tools-deps "0.4.5"]]
:middleware [lein-tools-deps.plugin/resolve-dependencies-with-deps-edn]
:lein-tools-deps/config {:config-files [:install :user :project]}

and a deps.edn

{:deps {nextjournal.clojure-mode {:git/url "https://github.com/nextjournal/clojure-mode"
                                  :sha "fcf51d3dbc1ad192d261a5417cff03c3f466dfa0"}}
 }