Skip to content

Commit

Permalink
move and ignore fuzzers in codacy
Browse files Browse the repository at this point in the history
  • Loading branch information
piksel committed Jul 30, 2022
1 parent 7ccc21f commit 996a74e
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .clusterfuzzlite/build.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#!/binsh

compile_go_fuzzer github.com/containrrr/shoutrrr/pkg/util/fuzz FuzzPartitionMessage fuzz_partition_message
compile_go_fuzzer github.com/containrrr/shoutrrr/fuzz FuzzPartitionMessage fuzz_partition_message
3 changes: 3 additions & 0 deletions .codacy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
---
exclude_paths:
- "fuzz/*"
6 changes: 2 additions & 4 deletions pkg/util/fuzz/fuzz.go → fuzz/partition_message.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
//go:build gofuzz || cgo
// +build gofuzz cgo
// Note that the `cgo` above is a hack to prevent the file from being built in releases, but still
// included when checking for doc comments (lint)
//go:build gofuzz
// +build gofuzz

package fuzz

Expand Down

0 comments on commit 996a74e

Please sign in to comment.