Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
dv_dt
on Jan 3, 2022
|
parent
|
context
|
favorite
| on:
Dura is a background process that watches your Git...
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
on Jan 4, 2022
[–]
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: