Fork me on GitHub
#rewrite-clj
<
2019-11-27
>
sogaiu16:11:54

re: mranderson - i've been investigating the code and repository a bit. it appears the maintainer has / had thoughts about making its capabilities available outside of leiningen (there are a number of issues related to this). while trying to understand what is involved, i took some notes: https://gist.github.com/sogaiu/dc4e073f5e90b9200b309d8c16bc7226 -- as a side effect, it 1) provides a brief intro to using REBL, 2) tries to give tips on specifically how to do this for a leiningen plugin (trickier than expected). there are even screenshots 🙂

lread17:11:25

thanks @sogaiu, I look forward to learning from your investigations!

borkdude18:11:05

why is it a problem that it depends on leiningen? you can generate the mrandersoned files once and then use those independently from leiningen

sogaiu18:11:30

what if you don't want to use leiningen? what if you want to invoke the tool from elsewhere?

sogaiu18:11:31

at any rate, even the author appears to think it's worth considering -- he made issues for it himself.

borkdude18:11:49

I can relate, but in practice, I would only invoke this tool twice a year

sogaiu18:11:09

in my case, it might be more frequent -- at any rate, it appears there is some motivation to move it in that direction and i'm inclined in that direction anyway 🙂

borkdude18:11:10

sure 🙂