Skip to content

Commit 51a314f

Browse files
committed
Add Makefile target that creates zip archive with corpus.
1 parent 7a4dc33 commit 51a314f

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

Makefile

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,11 @@ bin/test: bin/go-fuzz-build
3232
GOOS=$$arch bin/go-fuzz-build -o bin/fmt-fuzz-$$arch.zip github.com/dvyukov/go-fuzz/examples/png; \
3333
done
3434

35-
go-fuzz: bin/go-fuzz bin/test
36-
35+
bin/corpus.zip: bin
36+
zip bin/corpus.zip $(GOPATH)/src/github.com/dvyukov/go-fuzz/examples/png/corpus/*
37+
38+
go-fuzz: bin/go-fuzz bin/test bin/corpus.zip
39+
3740
run-scheduler:
3841
go run -race cmd/fuzzlr-scheduler/app.go -logtostderr=true
3942

0 commit comments

Comments
 (0)