2019-10-25 07:39:59 +02:00
|
|
|
no_trace: false
|
|
|
|
debounce: 300 # if rule has no debounce, this will be used instead
|
|
|
|
ignore: \.git/
|
|
|
|
trig: [start, run] # will run on start
|
|
|
|
rules:
|
|
|
|
- name: start
|
|
|
|
- name: run
|
|
|
|
match: \.go$
|
|
|
|
ignore: web|examples|docs|_test\.go$
|
2020-04-10 08:27:43 +02:00
|
|
|
command: go run cmd/main.go serv
|
2019-10-25 07:39:59 +02:00
|
|
|
- name: test
|
|
|
|
match: _test\.go$
|
|
|
|
command: go test -cover {PKG}
|