Skip to content

Commit 7f71a9e

Browse files
committed
Rely on pre-commit to handle JSON normalization
References: * casework/CASE-Utilities-Python#37 Signed-off-by: Alex Nelson <alexander.nelson@nist.gov>
1 parent d36826d commit 7f71a9e

File tree

2 files changed

+0
-11
lines changed

2 files changed

+0
-11
lines changed

examples/illustrations/src/illustration-basedir.mk

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,6 @@ SHELL := /bin/bash
1616
top_srcdir := $(shell cd ../../.. ; pwd)
1717

1818
all:
19-
$(MAKE) \
20-
--directory src \
21-
normalize
2219
$(MAKE) \
2320
--directory src
2421
cp src/generated-README.md README.md

examples/illustrations/src/illustration-src.mk

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -28,15 +28,11 @@ generated_readme_sed_sources := \
2828
all: \
2929
generated-README.md
3030

31-
.PHONY: \
32-
normalize
33-
3431
check:
3532

3633
clean:
3734
@rm -f \
3835
*.sed \
39-
.normalized-* \
4036
generated-* \
4137
query-*.md
4238

@@ -65,10 +61,6 @@ generated-$(illustration_name).json: \
6561
> _$@
6662
mv _$@ $@
6763

68-
normalize:
69-
ls $(illustration_name)-*.json \
70-
| while read x; do python3 -m json.tool $$x .normalized-$$x && mv .normalized-$$x $$x ; done
71-
7264
query-%.md: \
7365
query-%.sparql \
7466
$(top_srcdir)/.venv.done.log \

0 commit comments

Comments
 (0)