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
# justfile
# load environment variables
set dotenv-load
# aliases
alias c:=config
alias fmt:=format
# list justfile recipes
default:
just --list
# config
config:
@$EDITOR Cargo.toml
# format
format:
@cargo fmt
# build
build *args:
@cargo build {{args}}
# test
test *args:
@cargo test {{args}}
# install
install:
@cargo install --path .
# release-test
release-test:
@cargo publish --dry-run
# release
release:
@cargo publish
# docs
docs:
@cargo doc --open
# clean
clean:
@cargo clean