This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-06-09
Channels
- # announcements (12)
- # babashka (22)
- # beginners (17)
- # boot (6)
- # calva (45)
- # clj-kondo (17)
- # clojure (70)
- # clojure-australia (4)
- # clojure-europe (35)
- # clojure-finland (6)
- # clojure-losangeles (2)
- # clojure-nl (1)
- # clojure-uk (2)
- # clojured (26)
- # clojurescript (10)
- # conjure (1)
- # datahike (1)
- # events (1)
- # honeysql (14)
- # introduce-yourself (5)
- # jobs (5)
- # joyride (2)
- # minecraft (6)
- # off-topic (5)
- # pathom (14)
- # rewrite-clj (1)
- # shadow-cljs (13)
- # tools-build (6)
- # tools-deps (13)
- # vim (29)
- # xtdb (8)
Is there an established way to set the environment variables in a java-command
call?
I'd like to be able to set test.chuck's TEST_CHECK_FACTOR
to a value when running the tests from my build alias.
no, as that's not part of a java command. with process
, you can use :env
to set env vars
alright, thanks.
so you can merge that into the result of java-command, then pass to process
I'm using sean's build-clj run-tests var so I was hoping to be able to just pass something. Since that wasn't quite possible what I've opted for is to just pass a -e to clojure.main to evaluate a form that will set the factor to the value I want.