Skip to content

Commit

Permalink
chore: adds watcher
Browse files Browse the repository at this point in the history
  • Loading branch information
cristianoliveira committed Jun 15, 2024
1 parent dba47a7 commit c7d293f
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .watch.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@

## Funzzy events file
# more details see: https://github.com/cristianoliveira/funzzy
#
# list here all the events and the commands that it should execute

- name: run my unit tests @quick
run: 'make test'
change: '**/*.go'

- name: run lint @quick
run: 'make lint'
change: '**/*.go'

- name: run tests with tag test-only @quick
run: 'go test -tags test-only'
change: '**/*.go'

- name: run integration tests
run: 'make integration'
change: 'tests/*'
1 change: 1 addition & 0 deletions shell.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ pkgs.mkShell {
# were you to to use nix-build not nix-shell and build whatever you were working on
buildInputs = [
pkgs.go
pkgs.funzzy
];

shell = pkgs.zsh;
Expand Down

0 comments on commit c7d293f

Please sign in to comment.