add comment about pretty to makefile

This commit is contained in:
Damien Elmes 2019-12-20 20:37:03 +10:00
parent 94a81230f6
commit 795f36aeb0
2 changed files with 1 additions and 4 deletions

View File

@ -153,7 +153,7 @@ fixpyimports:
TSCHECKDEPS := $(BUILDDEPS) $(TSDEPS)
.build/checkpretty: $(TSCHECKDEPS)
(cd ts && npm run check-pretty)
(cd ts && npm run check-pretty) # if this fails, run 'make pretty'
touch $@
.build/pretty: $(TSCHECKDEPS)

View File

@ -51,9 +51,6 @@ Please make sure 'make check' completes successfully before submitting code.
If your change is to anki/ and not covered by the existing unit tests, please
consider adding a unit test at the same time.
If 'make check' fails because the JS styling doesn't match, you can run
'make pretty' to automatically adjust the styling.
Do One Thing
-------------