Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I always wanted a utility to run in the background, look for changes, run unit tests, and if they pass automatically do a side commit noting it. This looks close.


I think you can do something like that with `watchexec` (or `entr`, if you prefer that):

watchexec -c -e go 'go test ./... && git commit -am "Tests pass"'




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

Search: