Makefile 519 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
6
7

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

format:
11
	cargo +nightly fmt
12
13
14
15
16

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