This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-10-04
Channels
- # aleph (10)
- # announcements (2)
- # babashka (2)
- # beginners (101)
- # calva (17)
- # cider (11)
- # clara (6)
- # clj-kondo (25)
- # cljsrn (33)
- # clojure (181)
- # clojure-dev (15)
- # clojure-europe (3)
- # clojure-italy (4)
- # clojure-nl (8)
- # clojure-uk (22)
- # clojurescript (111)
- # clojutre (58)
- # cursive (31)
- # data-science (1)
- # datomic (10)
- # emacs (6)
- # ethereum (1)
- # fulcro (20)
- # graalvm (3)
- # jackdaw (5)
- # leiningen (5)
- # off-topic (31)
- # re-frame (2)
- # reitit (10)
- # shadow-cljs (9)
- # spacemacs (16)
- # sql (8)
- # tools-deps (16)
- # vim (17)
Getting some interesting behavior from lein-monolith where we're getting:
WARNING: It appears your project does not contain a ClojureScript dependency. One will be provided for you by lein-cljsbuild, but it is strongly recommended that you add your own.
for clj projects. There are shared cljc
dependencies between clj and cljs projects.
You could add it to your :provided
dependencies if you don’t want it polluting your downstream consumers
we use this uh… fairly gnarly alias in the metaproject to automate some test setup for our cljs-compatible projects:
;; Run this in a project with cljs-compatible unit tests to run the tests on headless chrome
"test-cljs" ["update-in" ":dependencies" "conj"
"[org.clojure/clojurescript \"1.10.312\"]"
"[com.google.guava/guava \"23.0\"]"
"[com.google.protobuf/protobuf-java \"3.3.0\"]"
"[olical/cljs-test-runner \"3.5.0\" :exclusions [[org.clojure/clojurescript] [com.google.guava/guava] [com.google.protobuf/protobuf-java]]]"
"--"
"update-in" ":source-paths" "conj" "\"cljs-test-runner-out/gen\""
"--"
"do"
["shell" "bash" "-c" "mkdir -p cljs-test-runner-out/gen"]
"run" "-m" "cljs-test-runner.main" "-c" "{:optimizations :advanced}" "-x" "chrome-headless"]