mirror of
https://github.com/ankitects/anki.git
synced 2025-09-19 06:22:22 -04:00
add comment about pretty to makefile
This commit is contained in:
parent
94a81230f6
commit
795f36aeb0
2 changed files with 1 additions and 4 deletions
2
Makefile
2
Makefile
|
@ -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)
|
||||||
|
|
|
@ -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
|
||||||
-------------
|
-------------
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue