mirror of
https://github.com/go-gitea/gitea
synced 2024-11-09 11:31:34 +01:00
9fe4437bda
* Use vendored go-swagger * vendor go-swagger * revert un wanteed change * remove un-needed GO111MODULE * Update Makefile Co-Authored-By: techknowlogick <matti@mdranta.net>
15 lines
291 B
Bash
15 lines
291 B
Bash
#! /bin/sh
|
|
set -eu
|
|
|
|
go get github.com/dvyukov/go-fuzz/go-fuzz
|
|
go get github.com/dvyukov/go-fuzz/go-fuzz-build
|
|
|
|
if [ ! -e toml-fuzz.zip ]; then
|
|
go-fuzz-build github.com/pelletier/go-toml
|
|
fi
|
|
|
|
rm -fr fuzz
|
|
mkdir -p fuzz/corpus
|
|
cp *.toml fuzz/corpus
|
|
|
|
go-fuzz -bin=toml-fuzz.zip -workdir=fuzz
|