This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-10-22
Channels
- # 100-days-of-code (3)
- # announcements (7)
- # beginners (147)
- # cider (22)
- # cljdoc (24)
- # cljs-dev (71)
- # cljsrn (8)
- # clojars (3)
- # clojure (45)
- # clojure-conj (11)
- # clojure-dev (1)
- # clojure-italy (21)
- # clojure-nl (2)
- # clojure-spec (76)
- # clojure-sweden (2)
- # clojure-uk (100)
- # clojurebridge (3)
- # clojurescript (15)
- # cursive (7)
- # data-science (2)
- # datomic (7)
- # emacs (9)
- # events (2)
- # figwheel-main (4)
- # fulcro (117)
- # jobs (2)
- # jobs-discuss (21)
- # leiningen (184)
- # nyc (4)
- # off-topic (50)
- # planck (6)
- # re-frame (14)
- # reagent (25)
- # ring-swagger (5)
- # shadow-cljs (96)
- # spacemacs (5)
- # sql (26)
- # tools-deps (12)
- # uncomplicate (1)
- # yada (3)
If you have a deps.edn
project, how do you push it to Clojars?
The Clojars "pushing" wiki page, for example, gives instructions for Leiningen, Boot, and Maven, but not for deps.edn
:
https://github.com/clojars/clojars-web/wiki/Pushing
You don't 🙂
A deps.edn
project can be depended on directly on GitHub.
A more helpful answer to your question is that you will need to use something like cambada to create a "thin" JAR and then do something appropriate to generate pom.xml
and deploy it up to Clojars (Maven, I guess?).
Thanks, Sean. Yeah, I knew that about depending directly on GitHub commits. But since the CLI tools don't work on Windows yet, I'm using Leiningen on my project, and Leiningen can't depend on GitHub coordinates (even with the lein-tools-deps
plugin).
(I don't use Windows, but some members of my team do, and installing a Linux environment is a bit of a tall ask at this point.)
I'm surprised lein-tools-deps
can't depend on git coords... boot-tools-deps
supports those...
It can depend on git coords, but that functionality doesn't work on Windows. It complains about not being able to find the clojure
command.
you can use clj -Spom
to create a pom, which could be modified into a deployment path too
(in any answer to prior questions)
-Spom syncs, so if you change it the pom, those changes (outside the dependencies) will be respected
Nice, good to know, thanks Alex.