diff options
author | Rich Trott <rtrott@gmail.com> | 2016-02-27 22:08:08 -0800 |
---|---|---|
committer | Rich Trott <rtrott@gmail.com> | 2016-03-01 14:02:26 -0800 |
commit | d9f7a597e4d2f5cefda898f8b1223e3fcfb7a07c (patch) | |
tree | 928664722b59438e50f65337be1220f86c478f8c /Makefile | |
parent | 76e4a7437791a9b02f86d1f6db5ddc94f9913d09 (diff) | |
download | android-node-v8-d9f7a597e4d2f5cefda898f8b1223e3fcfb7a07c.tar.gz android-node-v8-d9f7a597e4d2f5cefda898f8b1223e3fcfb7a07c.tar.bz2 android-node-v8-d9f7a597e4d2f5cefda898f8b1223e3fcfb7a07c.zip |
build: run lint before tests
Have `make test` run linting tools before tests rather than after. Lint
is likely to find issues quickly. Tests may take a while to run. So do
the linting first.
Refs: https://github.com/nodejs/node/issues/4546#issuecomment-189755007
PR-URL: https://github.com/nodejs/node/pull/5470
Reviewed-By: Johan Bergström <bugs@bergstroem.nu>
Reviewed-By: Myles Borins <myles.borins@gmail.com>
Reviewed-By: Evan Lucas <evanlucas@me.com>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -111,9 +111,9 @@ v8: $(MAKE) -C deps/v8 $(V8_ARCH) $(V8_BUILD_OPTIONS) test: | cctest # Depends on 'all'. - $(PYTHON) tools/test.py --mode=release message parallel sequential -J $(MAKE) jslint $(MAKE) cpplint + $(PYTHON) tools/test.py --mode=release message parallel sequential -J test-parallel: all $(PYTHON) tools/test.py --mode=release parallel -J |