Skip to content

Commit 2f5b0a2

Browse files
committed
move and ignore fuzzers in codacy
1 parent 7ccc21f commit 2f5b0a2

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

.clusterfuzzlite/build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
#!/binsh
22

3-
compile_go_fuzzer github.com/containrrr/shoutrrr/pkg/util/fuzz FuzzPartitionMessage fuzz_partition_message
3+
compile_go_fuzzer github.com/containrrr/shoutrrr/fuzz FuzzPartitionMessage fuzz_partition_message

.codacy.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
---
2+
exclude_paths:
3+
- "fuzz/**/*"

pkg/util/fuzz/fuzz.go renamed to fuzz/partition_message.go

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
1-
//go:build gofuzz || cgo
2-
// +build gofuzz cgo
3-
// Note that the `cgo` above is a hack to prevent the file from being built in releases, but still
4-
// included when checking for doc comments (lint)
1+
//go:build gofuzz
2+
// +build gofuzz
53

64
package fuzz
75

0 commit comments

Comments
 (0)