Fork me on GitHub
#leiningen
<
2016-06-15
>
lmergen11:06:34

this might sound like a stupid mistake, but is there any way to hard-code certain environment variables in my project.clj ?

lmergen11:06:50

can i just expose them throught :env ?

lmergen11:06:28

well, apparently it is

aengelberg18:06:34

:env only works if you're reading those environment variables via environ.

aengelberg18:06:04

You can also set java properties via :jvm-opts ["-Dpropname=value"]

lmergen18:06:51

yeah, i think this is something where a autoconf-like config.h solution would work best

lmergen18:06:56

this calls for a lein plugin, tho 🙂