Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: adds watcher #167

Merged
merged 2 commits into from
Jun 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading