-
Notifications
You must be signed in to change notification settings - Fork 0
/
justfile
49 lines (36 loc) · 1.42 KB
/
justfile
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
41
42
43
44
45
46
47
48
49
# This file is only for development
set windows-shell := ["powershell.exe"]
default: test
test:
cargo test --no-default-features --features updater -- --test-threads=1
test-without-features:
cargo test --no-default-features -- --test-threads=1
test-all: test test-without-features
test-ignored:
echo This tests all ignored tests
echo Tests are usually ignored because they require dependacies
echo deps: texlive
cargo test --no-default-features -j 1 -- --include-ignored
cargo test --no-default-features --features updater -j 1 -- --include-ignored
build:
cargo build --no-default-features
cargo build --no-default-features --features updater
help:
cargo run --no-default-features -- --help
cargo run --no-default-features --features updater -- --help
dev-install:
cargo install --path . --no-default-features --profile dev
dev-install-updater:
cargo install --path . --no-default-features --features updater --profile dev
bereit: test build fmt
scan:
trufflehog git https://github.com/oneelectron/itex
codecov:
rm -rf codecov
RUSTFLAGS="-Cinstrument-coverage" cargo build --profile codecov
LLVM_PROFILE_FILE="your_name-%p-%m.profraw" RUSTFLAGS="-Cinstrument-coverage" cargo test -j 1 --all-features --profile codecov
grcov . -s . --binary-path ./target/debug/ -t html --branch --ignore-not-existing -o ./codecov
rm *.profraw
fmt:
cargo fmt --check
cargo clippy