Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Show HN: Awesome-ci Lot's of tools for git, file and static source code analysis (github.com/cytopia)
3 points by everythingcli on Nov 19, 2016 | hide | past | favorite | 4 comments


So, every script seems to be a 900+ line bash script, with largely the same boilerplate, and the actual checks/fixes are just one-liners.

While wrapping possibly complex/tricky one-liners with an easy to use shell script makes sense, it seems like they could be optimised to re-use most of the boilerplate in a library file.


This is true. I tried to make them as generic as possible, so whenever I have to update one of the files, I can just copy/paste a fix to all other files.

This also let's me add other checks/fixes more easily.

I wasn't sure about the best way of having a bash library. Any ideas about this are welcome to hear.


I might look into this more deeply and open some issues to discuss possible improvements. I like the general goal, and these days it's refreshing to see someone not reinventing the wheel with a nodejs script.


So true. I like the idea of taco bell programming: http://widgetsandshit.com/teddziuba/2010/10/taco-bell-progra...




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: