-
Notifications
You must be signed in to change notification settings - Fork 9
/
justfile
34 lines (26 loc) · 714 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
#!/usr/bin/env -S just --justfile
alias f := fmt
alias l := lint
alias c := comply
alias k := check
# List available commands.
_default:
just --list --unsorted
# Tasks to make the code-base comply with the rules. Mostly used in git hooks.
comply: fmt lint
# Check if the repository comply with the rules and ready to be pushed.
check: fmt-check lint
# Format the codebase.
fmt:
dprint fmt
# Check is the codebase properly formatted.
fmt-check:
dprint check
# Lint the codebase.
lint:
# Run `typos --write-changes` to fix the mistakes
typos
# Generate changelog
changelog-gen version:
git-cliff --config .cliff.toml --output CHANGELOG.md --tag {{ version }} v0.7.13..
just fmt