Skip to content

Commit 54a8ea3

Browse files
committed
Define ISO 639:2023 language codes
Signed-off-by: Juan Cruz Viotti <jv@jviotti.com>
1 parent e0a1ba9 commit 54a8ea3

18 files changed

Lines changed: 74963 additions & 52 deletions

File tree

Makefile

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,18 @@
11
JSONSCHEMA ?= jsonschema
22
SHELLCHECK ?= shellcheck
33
PYTHON ?= python3
4+
CURL ?= curl
5+
BSDTAR ?= bsdtar
6+
MKDIRP ?= mkdir -p
7+
RMRF ?= rm -rf
48

59
# TODO: Extend `validate` to take a directory as argument
610
SCHEMAS = $(shell find schemas/ -type f -name '*.json')
711
TESTS = $(shell find test/ -type f -name '*.json')
812

913
all: common test
10-
$(JSONSCHEMA) fmt schemas test meta --verbose
14+
$(JSONSCHEMA) fmt schemas meta --verbose
15+
$(JSONSCHEMA) fmt test --verbose --default-dialect "https://json-schema.org/draft/2020-12/schema"
1116

1217
.PHONY: common
1318
common:
@@ -20,12 +25,15 @@ common:
2025

2126
.PHONY: lint
2227
lint: common
23-
$(JSONSCHEMA) fmt schemas test meta --verbose --check
28+
$(JSONSCHEMA) fmt schemas meta --verbose --check
29+
$(JSONSCHEMA) fmt test --verbose --default-dialect "https://json-schema.org/draft/2020-12/schema"
2430

2531
.PHONY: test
2632
test:
2733
$(JSONSCHEMA) test ./test
2834

2935
.PHONY: external
3036
include generate/iso/currency/include.mk
37+
include generate/iso/language/include.mk
3138
external: $(EXTERNAL)
39+
generate: $(GENERATE)

0 commit comments

Comments
 (0)