Skip to content

Commit 46fa7cc

Browse files
committed
Update just rule to adhere to naming convention
build-{lang} lint-{lang} FILE (or *FILES if possible) lint-all-{lang} fix-{lang} FILE (or *FILES if possible) fix-all-{lang}
1 parent 865b310 commit 46fa7cc

File tree

1 file changed

+17
-8
lines changed

1 file changed

+17
-8
lines changed

justfile

Lines changed: 17 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,37 @@
1-
21
default:
32
@just --list
43

54
build:
6-
just build-manual
7-
./gradlew shadowJar sourcesJar javadocJar
5+
just build-typst
6+
just build-java
87

9-
build-manual:
8+
build-typst:
109
make manual/SGE-MANUAL.pdf
1110

11+
build-java:
12+
./gradlew shadowJar sourcesJar javadocJar
13+
1214
lint:
13-
just lint-typst-all
15+
just lint-all-typst
1416

1517
lint-typst *FILES:
1618
typstyle --check {{ FILES }}
1719

18-
lint-typst-all:
20+
lint-all-typst:
1921
typstyle --check format-all manual/
2022

2123
fix:
22-
just fix-typst-all
24+
just fix-all-just
25+
just fix-all-typst
2326

2427
fix-typst *FILES:
2528
typstyle --inplace {{ FILES }}
2629

27-
fix-typst-all:
30+
fix-all-typst:
2831
typstyle --inplace format-all manual/
32+
33+
fix-just FILE:
34+
just --unstable --fmt --justfile {{ FILE }}
35+
36+
fix-all-just:
37+
just --unstable --fmt

0 commit comments

Comments
 (0)