Skip to content

Commit c330bcb

Browse files
committed
Add clean-diff that runs fix_diffs.py for every changed po files
1 parent 90a14c9 commit c330bcb

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Makefile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,3 +97,7 @@ fuzzy:
9797
.PHONY: clean
9898
clean:
9999
rm *.mo */*.mo
100+
101+
.PHONY: clean-diff
102+
clean-diff: $(VENV)/bin/activate
103+
for file in $$(git diff --name-only | grep '.po$$'); do python3 scripts/fix_diffs.py $$file; done

0 commit comments

Comments
 (0)