-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathjustfile
More file actions
33 lines (27 loc) · 747 Bytes
/
Copy pathjustfile
File metadata and controls
33 lines (27 loc) · 747 Bytes
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
set shell := ["bash", "-euo", "pipefail", "-c"]
# Show available recipes.
default:
@just --list
# Alias for listing recipes.
help:
@just --list
# Run formatters the same way pre-commit does.
fmt:
pre-commit run --all-files trailing-whitespace
pre-commit run --all-files end-of-file-fixer
pre-commit run --all-files mixed-line-ending
pre-commit run --all-files shfmt
pre-commit run --all-files ruff
pre-commit run --all-files ruff-format
pre-commit run --all-files terraform_fmt
pre-commit run --all-files prettier
./bin/tctl fmt
# Run project linting checks.
lint:
make lint
# Run project test suite.
test:
make test
# Run full pre-commit suite.
pre-commit:
pre-commit run --all-files