worm: make make make faster

pruning the node_modules directory instead of excluding the matches
means that node_modules is now never traversed in the first place,
making dependency resolution instantaneous (from ~800ms before)
This commit is contained in:
Csongor Kiss 2022-10-21 15:32:16 +01:00 committed by Csongor Kiss
parent 19149e653e
commit f39c5ac81b
1 changed files with 1 additions and 1 deletions

View File

@ -1,4 +1,4 @@
SOURCE_FILES:=$(shell find . -name "*.ts" -not -path "./node_modules/*") SOURCE_FILES:=$(shell find . -type d -name node_modules -prune -o -name "*.ts")
.PHONY: all .PHONY: all
all: build all: build