This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-11-19
Channels
- # announcements (3)
- # asami (3)
- # babashka (39)
- # beginners (65)
- # calva (13)
- # cider (4)
- # clj-kondo (69)
- # cljdoc (19)
- # cljs-dev (2)
- # clojure (90)
- # clojure-dev (10)
- # clojure-europe (61)
- # clojure-france (15)
- # clojure-nl (8)
- # clojure-uk (2)
- # clojurescript (28)
- # conjure (2)
- # core-logic (4)
- # cursive (8)
- # datalevin (5)
- # datascript (7)
- # datomic (14)
- # depstar (4)
- # events (1)
- # graphql (7)
- # holy-lambda (5)
- # jobs (5)
- # kaocha (1)
- # malli (14)
- # membrane-term (13)
- # missionary (13)
- # nextjournal (6)
- # off-topic (1)
- # polylith (15)
- # portal (10)
- # re-frame (35)
- # reitit (1)
- # remote-jobs (3)
- # schema (3)
- # sci (121)
- # spacemacs (6)
- # tools-build (8)
- # tools-deps (74)
- # xtdb (7)
I have a function like:
(defn tag [{:keys [version]}] ...)
And when I try clj -T:build tag :version "1.2.3"
it gives me a Unreadable arg: "1.2.3"
, am I missing something? I didn't find a example on tools.build guide passing anything other than a keyword so not sure if that is suppose to workIt works if I pass clj -T:build tag :version :1.2.3
but it looks a little bit weird
when passing strings, you need to include the outer quotes in the literal value
clj -T:build tag :version '"1.2.3"'
Friday win: today we replaced half our ancient ant
build.xml
and snapshot.sh
scripts with a couple of tools.build
-based functions! (the rest of that mess deals specifically with our legacy apps which will eventually get replaced by shiny Clojure 🙂 )