Fork me on GitHub
#leiningen
<
2017-06-22
>
practicalli-johnny00:06:48

@j-po my first guess would be to create a specific profile with that plugin and run leiningen with-plugin ... when you want to use it or add a - to the front of the profile name if you want to exclude it. Examples in https://github.com/technomancy/leiningen/blob/master/doc/PROFILES.md

donyorm01:06:56

What is it called when you add an option to a lein template? (ex. lein new lumins myapp +auth, what is the +auth part called?)

donyorm12:06:25

figured it out, they're apparently called profiles

roberto14:06:47

I don’t know if this is the right place to ask, but I’m getting this exception java.io.FileNotFoundException: /usr/local/src/server/.lein-env (Permission denied)

roberto14:06:27

I understood that environ checked .lein-env and other locations but I find it weird that it throws an exception if it doesn’t find one of those

donyorm14:06:36

It says Permission denied. Is it possible that the server isn't allowed to access /usr/local/src/server/?

roberto14:06:37

yeah, but I understood that environ “tried” (emphasis on the tried) to read from a couple of files AND the sys environment.

roberto14:06:00

Didn’t know it would just explode if it couldn’t read one of those files.

roberto14:06:24

this seems more and more like an environ issue.

roberto14:06:37

just found it weird that it would just crash if it couldn’t read the first file. I was assuming it would eventually get to parse the system vars.

donyorm15:06:18

yeah, I would ask the environ people about that