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) TSCHECKDEPS := $(BUILDDEPS) $(TSDEPS)
.build/checkpretty: $(TSCHECKDEPS) .build/checkpretty: $(TSCHECKDEPS)
(cd ts && npm run check-pretty) (cd ts && npm run check-pretty) # if this fails, run 'make pretty'
touch $@ touch $@
.build/pretty: $(TSCHECKDEPS) .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 If your change is to anki/ and not covered by the existing unit tests, please
consider adding a unit test at the same time. 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 Do One Thing
------------- -------------