Commit 6931f7e2 authored by Robert Czechowski's avatar Robert Czechowski
Browse files

Add format & clippy targets to makefile, no longer ignore warnings

parent 86559727
Pipeline #67 failed with stage
in 1 minute and 37 seconds
debug:
RUSTFLAGS=-Awarnings RUST_BACKTRACE=1 cargo run --features watch -- -a
RUST_BACKTRACE=1 cargo run --features watch -- -a
test:
RUSTFLAGS=-Awarnings RUST_BACKTRACE=1 cargo test --features watch
RUST_BACKTRACE=1 cargo test --features watch
release:
env OPENSSL_LIB_DIR=/usr/lib/x86_64-linux-gnu/ OPENSSL_INCLUDE_DIR=/usr/local/include OPENSSL_STATIC=yes cargo build --release
format:
cargo fmt
clippy:
cargo clippy --all-targets --all-features -- -D warnings -A clippy::redundant_field_names -A clippy::useless_format -A clippy::let_and_return -A clippy::type_complexity -A clippy::option_map_unit_fn -A clippy::too_many_arguments
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment