This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-05-27
Channels
- # aws (7)
- # babashka (145)
- # beginners (83)
- # calva (18)
- # cider (11)
- # clara (9)
- # clj-kondo (59)
- # cljdoc (4)
- # cljs-dev (4)
- # cljsrn (11)
- # clojure (168)
- # clojure-australia (21)
- # clojure-dev (5)
- # clojure-europe (46)
- # clojure-italy (3)
- # clojure-nl (10)
- # clojure-taiwan (1)
- # clojure-uk (55)
- # clojurescript (85)
- # clojureverse-ops (1)
- # code-reviews (3)
- # conjure (22)
- # cursive (3)
- # datahike (3)
- # datomic (4)
- # emacs (5)
- # helix (20)
- # jackdaw (1)
- # jobs (2)
- # jobs-discuss (7)
- # lsp (1)
- # malli (5)
- # off-topic (85)
- # other-languages (4)
- # practicalli (4)
- # reitit (2)
- # releases (2)
- # sci (62)
- # shadow-cljs (181)
- # testing (5)
- # tools-deps (15)
- # xtdb (31)
I can’t seem to pick up any :extra-deps inside an alias when running
clojure -A:backend -Stree
where :backend
is the alias in question. I wonder why? I thought that -A was the option to use for aliases.should work, can you share deps.edn
{:paths ["src" "resources"]
:deps {org.clojure/clojure {:mvn/version "1.10.3"}
org.clojure/data.json {:mvn/version "2.3.1"}
org.clojure/data.csv {:mvn/version "1.0.0"}
semantic-csv/semantic-csv {:mvn/version "0.2.1-alpha1"}
time-literals/time-literals {:mvn/version "0.1.5"}
io.pedestal/pedestal.service {:mvn/version "0.5.9"}
io.pedestal/pedestal.route {:mvn/version "0.5.9"}
io.pedestal/pedestal.jetty {:mvn/version "0.5.9"}
luminus/ring-ttl-session {:mvn/version "0.3.3"}
org.slf4j/slf4j-simple {:mvn/version "1.7.30"}
hiccup {:mvn/version "1.0.5"}
;; Using the same version of Jetty as Pedestal, since upgrading will
;; create an incompatibility with newer versions of Jetty:
;;
org.eclipse.jetty/jetty-servlets {:mvn/version "9.4.35.v20201120"}
;kuhumcst/cuphic {:local/root "/Users/rqf595/Code/cuphic"}
;kuhumcst/rescope {:local/root "/Users/rqf595/Code/rescope"}
;kuhumcst/recap {:local/root "/Users/rqf595/Code/recap"}}
kuhumcst/cuphic {:git/url ""
:sha "5122b24da9e1e723f4d1496b1acc98bc699d9d38"}
kuhumcst/rescope {:git/url ""
:sha "901879bdfa489a70b26a1e9fdd381475207130ca"}
kuhumcst/recap {:git/url ""
:sha "2668835572a5523bc5a9f0f5543dd85ab1c31681"}}
;; For now, the backend alias only contains metabase/saml20-clj since it
;; brought in a Google Guava dependency that conflicted with shadow-cljs.
;; Using a separate alias for backend-only deps solves this.
:aliases {:backend {:extra-deps {metabase/saml20-clj {:mvn/version "2.0.0"}}}
:frontend {:extra-paths ["dev"]
:extra-deps {org.clojure/clojurescript {:mvn/version "1.10.866"}
thheller/shadow-cljs {:mvn/version "2.14.0"}
reagent {:mvn/version "1.0.0"}}}
:test {:extra-paths ["test"]}}}
I see it when I use that command
maybe try adding -Sforce to make sure you don't have something weird in cpcache?
✅ 3
did you copy that file in or do anything that might cause the deps.edn to have an old timestamp?
the script checks timestamp of cached cp vs deps.edn
Ordinarily, I use Cursive to fetch deps and so on, but in this case I needed to test stuff on the command line since my build was failing in production
probably - I don't think Cursive uses the cpcache so could be put something weird in combination there