-
Notifications
You must be signed in to change notification settings - Fork 29
Expand file tree
/
Copy pathjustfile
More file actions
27 lines (20 loc) · 950 Bytes
/
justfile
File metadata and controls
27 lines (20 loc) · 950 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
_default:
@just --list
fetch-contributors:
@python3 tools/fetch_contributors.py > data/contributors.json
validate: && validate-series validate-parties validate-series-slugs validate-party-slugs validate-party-dates
validate-series:
@echo "\nValidating series ..."
@taplo lint --schema "file://"$PWD"/schemas/series.json" data/series/*.toml && taplo format --check data/series/*.toml
validate-parties:
@echo "\nValidating parties ..."
@taplo lint --schema "file://"$PWD"/schemas/party.json" data/parties/**/*.toml && taplo format --check data/parties/**/*.toml
validate-series-slugs:
@echo "Validating series slugs ..."
@python3 tools/check_slugs.py data/series/*.toml
validate-party-slugs:
@echo "Validating party slugs ..."
@python3 tools/check_slugs.py data/parties/**/*.toml
validate-party-dates:
@echo "\nValidating party dates ..."
@python3 tools/check_party_date.py data/parties/**/*.toml