juxt

bartuka 2020-06-09T18:51:58.156900Z

Hello, I have been using aero for a while now and I have the following:  `(read-config "config.edn" (System/getenv "PROFILE"))` ... someone knows if you can use the profiles passed to leiningen ( `lein with-profile PROFILE` ) in aero?

dharrigan 2020-06-09T19:11:06.157Z

I can't help you out on lein, however, if you're interested, here is a simple example I use as an example app: https://git.sr.ht/~dharrigan/startrek/tree/master/src/startrek/core.clj

❤️ 1
bartuka 2020-06-09T19:28:57.157200Z

I still don't get why I need to use io/resource in this setup

bartuka 2020-06-09T19:29:05.157400Z

I never had a problem during uberjar creation

bartuka 2020-06-09T19:29:31.157600Z

This app is running for 7 months now, should I be worried? loool

bartuka 2020-06-09T19:30:32.157800Z

Owww.. nvmmm... I just saw the codebase again.. I did change it. I think in the very beginning was not mandatory to use it.. idk.

bartuka 2020-06-09T19:31:44.158100Z

fyi https://github.com/juxt/aero/pull/72/files

dominicm 2020-06-09T19:45:10.159Z

@iagwanderson I don't think you can get the lein profiles at runtime.

bartuka 2020-06-09T19:54:48.159500Z

ok, thanks. sort of a curiosity.