-
Notifications
You must be signed in to change notification settings - Fork 14
/
Makefile
40 lines (28 loc) · 913 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
check_all: check check_openssl check_md5
check: test lint
check_openssl: lint_with_openssl build_with_openssl test_with_openssl
check_md5: lint_with_md5 build_with_md5 test_with_md5
test:
cargo test
build:
cargo build
lint:
cargo clippy
gen:
bash ./scripts/generate-code.sh
$(MAKE) fix
fix:
cargo fix --allow-dirty --allow-staged
cargo fmt
build_with_openssl:
cd radius && cargo build --verbose --no-default-features --features openssl
test_with_openssl:
cd radius && cargo test --verbose --no-default-features --features openssl
lint_with_openssl:
cd radius && cargo clippy --verbose --no-default-features --features openssl
build_with_md5:
cd radius && cargo build --verbose --no-default-features --features md5
test_with_md5:
cd radius && cargo test --verbose --no-default-features --features md5
lint_with_md5:
cd radius && cargo clippy --verbose --no-default-features --features md5