Fork me on GitHub
#juxt
<
2020-06-09
>
bartuka18:06:58

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?

dharrigan19:06:06

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

❤️ 4
bartuka19:06:57

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

bartuka19:06:05

I never had a problem during uberjar creation

bartuka19:06:31

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

bartuka19:06:32

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.

dominicm19:06:10

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

bartuka19:06:48

ok, thanks. sort of a curiosity.