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
40
default: install-dev
set windows-powershell := true
# Run clippy lints
lint:
cargo clippy -- \
-D clippy::all \
-D clippy::exit \
-D clippy::perf \
-D clippy::cargo \
-D clippy::style \
-D clippy::nursery \
-D clippy::pedantic \
-D clippy::dbg_macro \
-D clippy::suspicious \
-D clippy::unwrap_used \
-D clippy::complexity \
-D clippy::create_dir \
-D clippy::correctness \
-W clippy::expect_used \
-A clippy::too-many-lines \
-A clippy::must-use-candidate \
-A clippy::multiple-crate-versions \
# Install Ferium to cargo's binary folder
install:
cargo install --force --path .
# Install Ferium to cargo's binary folder but debug
install-dev:
cargo install --debug --force --path .
# Delete all build and test artefacts
clean:
cargo clean
rm -rf
rm -rf tests/mods
rm -rf tests/md_modpack
rm -rf tests/cf_modpack
rm -rf tests/configs/running