advent-of-code/Makefile
Antoine Martin 7a2ef2dbe0 ci: run all tests in release mode
The reason these were run in debug mode was that it took less time to
build them. However, ignored tests are built in release mode in CI,
because they take too long otherwise. So we might as well just build
all tests once.
2020-12-15 12:16:45 +01:00

14 lines
289 B
Makefile

# requires cargo-watch
watch:
cargo watch -x clippy
check:
cargo test --all --release
# 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 --all --release -- --ignored
.PHONY: watch check check-all