-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.justfile
More file actions
40 lines (32 loc) · 837 Bytes
/
.justfile
File metadata and controls
40 lines (32 loc) · 837 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
34
35
36
37
38
39
40
# SPDX-FileCopyrightText: 2022-2026 Temple University <kleinweb@temple.edu>
# SPDX-License-Identifier: GPL-3.0-or-later
###: <https://just.systems/man/en/>
import '.config/vars.just'
mod php '.config/php'
mod release '.config/release'
mod reuse '.config/reuse'
default:
@just --choose
[group: "qa"]
[doc: "Check for any lint or formatting issues on project files"]
check:
biome check {{prj-root}}
php-lint-project
composer php-cs-fixer -- check
composer phpcs
composer phpstan
[group: "qa"]
[doc: "Check for (non-stylistic) linting issues on project files"]
lint:
biome lint {{prj-root}}
php-lint-project
composer lint
[group: "qa"]
[doc: "Write *all* formatter+fixer changes to project files"]
fix:
treefmt
composer fix
[group: "qa"]
[doc: "Write _safe_ formatter changes to project files"]
fmt:
treefmt