Makefile 639 Bytes
Newer Older
1
debug:
2
	RUST_BACKTRACE=1 cargo run --features 'watch' -- -a
3
4

test:
5
	RUST_BACKTRACE=1 cargo test --features 'watch complete'
6
7

release:
8
	env OPENSSL_LIB_DIR=/usr/lib/x86_64-linux-gnu/ OPENSSL_INCLUDE_DIR=/usr/local/include OPENSSL_STATIC=yes cargo build --release --features 'server'
9
10

format:
11
	cargo +nightly fmt
12
13

clippy:
14
	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 -A clippy::redundant_closure -A clippy::identity_conversion -A clippy::expect_fun_call
15
16