Rust implementation and BOAWP data validation tool https://boawp.org
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

26 lines
455 B

# Makefile to build the BOAWP validator
.PHONY: all
all: build doc tests
tests: tests-cargo tests-bad tests-good
build:
cargo build --release
doc:
cargo doc
tests-cargo:
cargo test --quiet
tests-bad: build
for x in $$(ls testdata/bad-*.bin) ; do \
./target/release/validate "$$x" 2>/dev/null || echo -n ; \
done
tests-good: build
for x in $$(ls testdata/good-*.bin) ; do \
./target/release/validate "$$x" >/dev/null ; \
done