-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathjustfile
More file actions
60 lines (45 loc) · 1.27 KB
/
justfile
File metadata and controls
60 lines (45 loc) · 1.27 KB
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 := true
dev-deps:
cargo install cargo-audit action-validator dircat
cargo install --git https://github.com/ytmimi/markdown-fmt markdown-fmt --features="build-binary"
cargo install --git https://github.com/RustedBytes/invoke-llm
init-macos: dev-deps
brew install lefthook
init-linux: dev-deps
go install github.com/evilmartians/lefthook@latest
go install github.com/google/yamlfmt/cmd/yamlfmt@latest
check-dev:
lefthook version
action-validator --version
dircat --version
cargo audit --version
yamlfmt --version
markdown-fmt --version
cargo --version
rustc --version
git --version
yasm --version
check: fmt
cargo +nightly clippy -- -W clippy::pedantic
check-fmt:
cargo +nightly fmt -- --check
yaml-fmt:
yamlfmt lefthook.yml
yamlfmt -dstar .github/**/*.{yaml,yml}
md-fmt:
markdown-fmt -m 80 CONTRIBUTING.md
markdown-fmt -m 80 README.md
fmt: yaml-fmt md-fmt
cargo +nightly fmt
test:
cargo test
audit:
cargo audit -D warnings
doc:
cargo doc --open
build: check
cargo +stable build
release: check
cargo +stable build --release
download-test-video:
wget -O "video.mp4" "https://commondatastorage.googleapis.com/gtv-videos-bucket/sample/ElephantsDream.mp4"