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

test:
5
	RUST_BACKTRACE=1 cargo test --features 'complete debug'
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
11
12
13
14
15
stricttest:
	cargo test --features 'strict complete debug' --verbose

dynrelease:
	cargo build --release --features 'server'

16
format:
17
	cargo +nightly fmt
18
19

clippy:
20
	cargo clippy --all-targets --features 'complete debug' -- -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::identity_conversion -A clippy::expect_fun_call
21
22