Fork me on GitHub
#leiningen
<
2020-06-14
>
mikerod01:06:23

@caio lein-bin plugin may be of interest

caio17:06:17

thanks, it's not really what I'm looking for. In my case I have a shell script in a lein template, but when you generate a project using the template (`lein new blablabla`) the file mode is not preserved

mikerod23:06:04

You could use lein-shell to do arbitrary shell commands. Hah. Not sure that’s really good for your case either though.

caio21:06:54

I actually found an undocumented option that does what I need: https://clojurians.slack.com/archives/C0AB48493/p1592157701252100

👍 4
Yehonathan Sharvit14:06:55

Is it possible to use a lein template from a private repo?

Yehonathan Sharvit14:06:26

Where should I store the credentials for the private repo?

Yehonathan Sharvit14:06:00

Is there a way to tell lein to automatically fetch the latest version of the template from the private repo?

caio18:06:41

https://github.com/technomancy/leiningen/issues/976 what I was looking for is an undocumented feature on the ->files fn