This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-11-15
Channels
- # announcements (1)
- # aws (79)
- # babashka (47)
- # beginners (82)
- # calva (65)
- # cider (27)
- # cljdoc (18)
- # cljs-dev (29)
- # clojure (189)
- # clojure-dev (5)
- # clojure-europe (3)
- # clojure-italy (1)
- # clojure-madison (6)
- # clojure-nl (4)
- # clojure-spec (10)
- # clojure-uk (41)
- # clojured (3)
- # clojurescript (5)
- # clojurex (17)
- # cursive (30)
- # data-science (7)
- # datomic (17)
- # emacs (3)
- # events (6)
- # fulcro (2)
- # funcool (9)
- # graalvm (29)
- # jobs-discuss (3)
- # joker (3)
- # kaocha (6)
- # malli (5)
- # music (6)
- # off-topic (21)
- # reagent (3)
- # reitit (4)
- # rewrite-clj (8)
- # shadow-cljs (49)
- # spacemacs (7)
- # sql (23)
- # tools-deps (15)
- # vim (43)
- # xtdb (19)
on a side note, if you want to use rebl with lread's rewrite efforts, it may be helpful to arrange for rebl to not refer to the version of rewrite-clj it wants (via its cljfmt dependency). based on a tip from lread, i now have the following alias in my ~/.clojure/deps.edn:
:rebl-11-rewrite-less
{:extra-deps {org.clojure/core.async {:mvn/version "0.4.490"}
;; deps for file datafication (0.9.149 or later)
org.clojure/data.csv {:mvn/version "0.1.4"}
org.clojure/data.json {:mvn/version "0.2.3"}
org.yaml/snakeyaml {:mvn/version "1.23"}
org.clojure/clojure {:mvn/version "1.10.1"}
com.cognitect/rebl
;; adjust to match your install location
{:local/root "../REBL/REBL.jar"
:exclusions [rewrite-clj/rewrite-clj]}
org.openjfx/javafx-fxml {:mvn/version "11.0.1"}
org.openjfx/javafx-controls {:mvn/version "11.0.1"}
org.openjfx/javafx-graphics {:mvn/version "11.0.1"}
org.openjfx/javafx-media {:mvn/version "11.0.1"}
org.openjfx/javafx-swing {:mvn/version "11.0.1"}
org.openjfx/javafx-base {:mvn/version "11.0.1"}
org.openjfx/javafx-web {:mvn/version "11.0.1"}}
;;:main-opts ["-m" "cognitect.rebl"]
}
note the :exclusions
portion. also, i don't tend to use the main-opts part so i have that commented out.hmmm... even though I’ve been doing this exclusion myself during development, I did not really think about it. I was thinking that rewrite-cljc would be a drop in replacement for rewrite-clj, but because its maven coordinates will be different there will be this potential collission.
I jotted down some notes on the issue: https://github.com/lread/rewrite-cljs-playground/blob/master/doc/design/01-merging-rewrite-clj-and-rewrite-cljs.adoc#not-a-drop-in-replacement-in-progress