forked from WGUNDERWOOD/tex-fmt
-
Notifications
You must be signed in to change notification settings - Fork 0
/
justfile
54 lines (39 loc) · 895 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
default: test doc clippy format shellcheck
all: default prof perf binary logo latex
alias b := build
alias d := doc
alias t := test
alias l := latex
alias c := clippy
alias f := format
build:
@cargo build -r
test:
@cargo test -r
doc:
@cargo doc
testignored:
@cargo test -r -- --ignored
clippy:
@cargo clippy -r
format:
@cargo fmt
latex:
@cd extra && bash latex.sh
perf:
@cd extra && bash perf.sh
prof:
@cd extra && bash prof.sh
binary:
@cd extra && bash binary.sh
upgrade:
@cargo upgrade && cargo update
shellcheck:
@shellcheck extra/*.sh
logo:
@cd extra && python logo.py
@cd extra && magick -background none logo.svg -resize 5000x5000 logo.png
@cd extra && python card.py
@cd extra && magick -background none card.svg -resize 1280x640\! card.png
@cd extra && inkscape -w 2560 -h 1280 card.svg -o card.png
@cd extra && rm -f logo.png card.svg