rewrite-clj

https://github.com/clj-commons/rewrite-clj
2019-11-27T16:56:54.323100Z

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 🙂

lread 2019-11-27T17:32:25.323700Z

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

borkdude 2019-11-27T18:02:05.324400Z

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

2019-11-27T18:32:30.325Z

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

2019-11-27T18:33:31.325600Z

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

borkdude 2019-11-27T18:37:49.326100Z

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

2019-11-27T18:40:09.327300Z

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 🙂

borkdude 2019-11-27T18:57:10.327800Z

sure 🙂