This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-02-11
Channels
- # architecture (1)
- # babashka (61)
- # babashka-sci-dev (1)
- # beginners (85)
- # calva (112)
- # clj-kondo (279)
- # cljdoc (16)
- # cljs-dev (15)
- # cljsrn (7)
- # clojure (168)
- # clojure-europe (36)
- # clojure-nl (10)
- # clojure-spec (6)
- # clojure-uk (5)
- # clojured (1)
- # clojurescript (20)
- # core-async (16)
- # crypto (2)
- # cursive (13)
- # datomic (25)
- # events (7)
- # fulcro (21)
- # google-cloud (3)
- # graalvm (2)
- # graalvm-mobile (2)
- # gratitude (3)
- # helix (20)
- # honeysql (4)
- # hugsql (15)
- # introduce-yourself (15)
- # leiningen (2)
- # lsp (24)
- # luminus (22)
- # malli (21)
- # meander (11)
- # midje (1)
- # other-languages (1)
- # pathom (8)
- # re-frame (5)
- # reagent (5)
- # releases (2)
- # reveal (1)
- # shadow-cljs (18)
- # spacemacs (17)
- # sql (9)
- # tools-build (12)
- # tools-deps (4)
- # vim (12)
Am I right in that https://clojure.github.io/tools.build/clojure.tools.build.api.html#var-git-process doesn’t support failing on non-zero git
exit codes? Or have I not had enough coffee yet?
@lee Based on https://github.com/clojure/tools.build/blob/master/src/main/clojure/clojure/tools/build/api.clj#L242-L244 you are correct.
Cool, thanks @seancorfield.
The underlying process
function doesn't "fail", it just returns status/output stuff.
Yeah, that’s all fine. It just surprised me a bit that I could not even check the git
exit code. Easy enough to do my own thing tho.
What problem are you trying to solve?
You could use the raw process
function and throw on :exit
being non-zero.
Yeah thanks, am doing my own thing now. Just thought maybe git-process
could use tweak. But am totally fine with not using it too.
(in other words, was trying to be helpful in confirming/highlighting a potential issue, aim was not to be complainy 😇).
yep, thanks! maybe we could throw on non-0 exit