diff options
| author | Paul Buetow <paul@buetow.org> | 2024-05-06 23:30:56 +0300 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2024-05-06 23:30:56 +0300 |
| commit | 644efa7992029820263c8e1adc59ae90d9c57407 (patch) | |
| tree | 867c1abd9642d2ec195c0edc07684fec14d2f123 /Taskfile.yml | |
| parent | 5f208cd20d36b070b04ce1c848411dc5293150b6 (diff) | |
add test tasker target
Diffstat (limited to 'Taskfile.yml')
| -rw-r--r-- | Taskfile.yml | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/Taskfile.yml b/Taskfile.yml index 4363202..7a7ec41 100644 --- a/Taskfile.yml +++ b/Taskfile.yml @@ -5,9 +5,13 @@ tasks: cmds: - go build -o gosd cmd/gosd/main.go dev: - deps: ["vet", "lint"] + deps: ["test", "vet", "lint"] cmds: - go build -race -o gosd cmd/gosd/main.go + test: + cmds: + - go clean -testcache + - go test -v ./... vet: cmds: - go vet **/*.go |
