lang: Add fuzz target to lang Makefile

This commit is contained in:
Patrick Meyer
2020-02-24 14:31:12 +01:00
parent 10aa80e8f5
commit 006de6da14
5 changed files with 79 additions and 1 deletions

View File

@@ -128,6 +128,7 @@ go get golang.org/x/tools/cmd/stringer # for automatic stringer-ing
go get golang.org/x/lint/golint # for `golint`-ing
go get golang.org/x/tools/cmd/goimports # for fmt
go get github.com/tmthrgd/go-bindata/go-bindata # for compiling in non golang files
go get golang.org/dvyukov/go-fuzz # for fuzzing the mcl lang bits
if env | grep -q -e '^TRAVIS=true$' -e '^JENKINS_URL=' -e '^BUILD_TAG=jenkins'; then
go get -u gopkg.in/alecthomas/gometalinter.v1 && mv "$(dirname $(command -v gometalinter.v1))/gometalinter.v1" "$(dirname $(command -v gometalinter.v1))/gometalinter" && gometalinter --install # bonus
fi