Dave Henderson 946aa8c3f3
Vendoring
Signed-off-by: Dave Henderson <dhenderson@gmail.com>
2018-08-07 12:46:29 -04:00

16 lines
291 B
Bash
Executable File

#! /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