mirror of
https://github.com/zap-proto/ocaml-rpc.git
synced 2026-10-30 15:04:28 +00:00
It's more logical to keep the network next to the addresses on it. Also, this will allow using Eio paths more easily in future.
19 lines
345 B
Makefile
19 lines
345 B
Makefile
.PHONY: all fuzz clean test
|
|
|
|
default: test build-fuzz
|
|
|
|
build-fuzz:
|
|
dune build fuzz/fuzz.exe
|
|
|
|
fuzz: build-fuzz
|
|
# TODO: remove -d
|
|
afl-fuzz -d -i _build/in -o _build/out -- ./_build/default/fuzz/fuzz.exe --fuzz
|
|
|
|
clean:
|
|
rm -rf _build
|
|
|
|
test:
|
|
rm -rf _build/_tests
|
|
dune build test test-bin examples @install
|
|
dune build @runtest --no-buffer -j 1
|