set -e
echo -e "\033[36;1mRunning tests (winit 0.24):\033[0m"
cargo test --features winit_0_24
echo -e "\033[36;1mRunning tests (winit 0.27):\033[0m"
cargo test --features winit_0_27
echo -e "\033[36;1mRunning tests (winit 0.29):\033[0m"
cargo test --features winit_0_29
echo -e "\033[36;1mRunning tests (winit 0.30):\033[0m"
cargo test --features winit_0_30
echo -e "\033[36;1mRunning rustfmt:\033[0m"
cargo fmt -- --check
echo -e "\033[36;1mRunning clippy:\033[0m"
cargo clippy --features winit -- -D clippy::all