leiningen

N.B. The maintainers are on #leiningen on Libera chat IRC. Go there for direct support/bug reports.
2020-06-14T01:46:23.249600Z

@caio lein-bin plugin may be of interest

2020-06-14T17:34:17.251400Z

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

2020-06-14T23:12:04.253300Z

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

2020-06-15T21:06:54.258600Z

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

1👍
Yehonathan Sharvit 2020-06-14T14:20:55.250100Z

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

Yehonathan Sharvit 2020-06-14T14:21:26.250600Z

Where should I store the credentials for the private repo?

Yehonathan Sharvit 2020-06-14T14:22:00.251300Z

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

2020-06-14T17:34:17.251400Z

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

2020-06-14T18:01:41.252100Z

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

2020-06-14T23:12:04.253300Z

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