summaryrefslogtreecommitdiff
path: root/Taskfile.yml
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2024-10-23 11:05:49 +0300
committerPaul Buetow <paul@buetow.org>2024-10-23 11:05:49 +0300
commitfcd9fe70899c2e30ea467d80c576b950f5f62be6 (patch)
tree8f1df76aebaff67b9e368fa1cd1d9d04cf9eec10 /Taskfile.yml
parent772cf965f15bf06c7cf91095629f6b7f26848f83 (diff)
initial fuzztesting
Diffstat (limited to 'Taskfile.yml')
-rw-r--r--Taskfile.yml8
1 files changed, 5 insertions, 3 deletions
diff --git a/Taskfile.yml b/Taskfile.yml
index 206f0bc..2282f02 100644
--- a/Taskfile.yml
+++ b/Taskfile.yml
@@ -11,19 +11,21 @@ tasks:
deps: ["dev"]
cmds:
- go run cmd/gos/main.go
- env:
- GOS_EDITOR: hx
build:
cmds:
- go build -o gos cmd/gos/main.go
dev:
- deps: ["test", "vet", "lint"]
+ deps: ["test", "fuzz", "vet", "lint"]
cmds:
- go build -race -o gos cmd/gos/main.go
test:
cmds:
- go clean -testcache
- go test -v ./...
+ fuzz:
+ cmds:
+ - go clean -testcache
+ - go test ./internal/platforms/linkedin/ -fuzz=FuzzLinkedInURLExtract -fuzztime=10s
vet:
cmds:
- go vet ./...