4 ms·
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 clos
by dv_dt 5y ago
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.
- maleldil 5y agoI 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"'