Browse Source

build: fail linter if linting not available

PR-URL: https://github.com/nodejs/node/pull/13658
Ref: https://github.com/nodejs/node/pull/13645#issuecomment-308100452
Reviewed-By: João Reis <reis@janeasystems.com>
Reviewed-By: Refael Ackermann <refack@gmail.com>
Reviewed-By: Roman Reiss <me@silverwind.io>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
v6
Gibson Fahnestock 8 years ago
committed by James M Snell
parent
commit
b7473c2117
  1. 1
      Makefile
  2. 2
      vcbuild.bat

1
Makefile

@ -924,6 +924,7 @@ lint:
@echo "Linting is not available through the source tarball."
@echo "Use the git repo instead:" \
"$ git clone https://github.com/nodejs/node.git"
exit 1
lint-ci: lint
endif

2
vcbuild.bat

@ -485,7 +485,7 @@ goto exit
:no-lint
echo Linting is not available through the source tarball.
echo Use the git repo instead: $ git clone https://github.com/nodejs/node.git
goto exit
exit /b 1
:create-msvs-files-failed
echo Failed to create vc project files.

Loading…
Cancel
Save