add Makefile

I can never remember how to run ignored tests, so now I don't have to
This commit is contained in:
Antoine Martin 2020-12-15 10:48:42 +01:00
parent ea05aca51c
commit 5e5111d80f

13
Makefile Normal file
View file

@ -0,0 +1,13 @@
# requires cargo-watch
watch:
cargo watch -x clippy
check:
cargo test
# run these in release mode because the reason they're ignored is usually that
# they take a long time to run
check-all: check
cargo test --release -- --ignored
.PHONY: watch check check-all