Skip to content

Commit ad7b98b

Browse files
committed
build: don't print directory for GNUMake
Currently when running make targets the directory is printed on some operating systems (Linux for example): $ make lint make[1]: Entering directory '/work/node' Running JS linter... ./node tools/eslint/bin/eslint.js --cache --rulesdir=tools/eslint-rules --ext=.js,.md \ benchmark doc lib test tools make[1]: Leaving directory '/work/node' make[1]: Entering directory '/work/node' Running C++ linter... On other operating systems the directory is not printed. This commit suggests adding a flag to make this consistent for GNUMake by not printing the directory. PR-URL: #13042 Reviewed-By: Gibson Fahnestock <[email protected]>
1 parent f2ba06d commit ad7b98b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Makefile

+1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ LOGLEVEL ?= silent
1212
OSTYPE := $(shell uname -s | tr '[A-Z]' '[a-z]')
1313
COVTESTS ?= test
1414
GTEST_FILTER ?= "*"
15+
GNUMAKEFLAGS += --no-print-directory
1516

1617
ifdef JOBS
1718
PARALLEL_ARGS = -j $(JOBS)

0 commit comments

Comments
 (0)