-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathjustfile
60 lines (46 loc) · 876 Bytes
/
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
50
51
52
53
54
55
56
57
58
59
60
set dotenv-load
default:
just --list
alias f := fmt
alias r := run
alias t := test
all: build test clippy fmt-check
[group: 'misc']
build:
cargo build
[group: 'check']
check:
cargo check
[group: 'check']
ci: test clippy forbid
cargo +nightly fmt --all -- --check
cargo update --locked --package vim-profiler
[group: 'check']
clippy:
cargo clippy --all --all-targets
[group: 'format']
fmt:
cargo +nightly fmt
[group: 'format']
fmt-check:
cargo +nightly fmt --all -- --check
[group: 'check']
forbid:
./bin/forbid
[group: 'misc']
install:
cargo install -f vim-profiler
[group: 'dev']
install-dev-deps:
rustup install nightly
rustup update nightly
cargo install cargo-watch
[group: 'dev']
run *args:
cargo run -- --{{args}}
[group: 'test']
test:
cargo test
[group: 'dev']
watch +COMMAND='test':
cargo watch --clear --exec "{{COMMAND}}"