mirror of https://github.com/istio/istio.io.git
Fix make format-spelling difference on MacOS (#14165)
* Fix make format-spelling differnce on MacOS * Update Makefile.core.mk --------- Co-authored-by: Craig Box <craig.box@gmail.com>
This commit is contained in:
parent
be4221a2d9
commit
21c2dfdab8
|
|
@ -85,9 +85,11 @@ site:
|
||||||
snips:
|
snips:
|
||||||
@scripts/gen_snips.sh
|
@scripts/gen_snips.sh
|
||||||
|
|
||||||
|
# Force locale, since macOS and Linux use different locales. Otherwise updates from macOS users will
|
||||||
|
# fail make gen-check with an incorrect (for the pipeline) .spelling.
|
||||||
format-spelling:
|
format-spelling:
|
||||||
@echo "Sorting the .spelling file..."
|
@echo "Sorting the .spelling file..."
|
||||||
@sort .spelling --ignore-case -o .spelling
|
@LC_ALL=C sort .spelling --ignore-case -o .spelling
|
||||||
@echo ".spelling file sorted."
|
@echo ".spelling file sorted."
|
||||||
|
|
||||||
gen: tidy-go format-go update-gateway-version snips format-spelling
|
gen: tidy-go format-go update-gateway-version snips format-spelling
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue