Browse Source

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)
Csongor Kiss 3 years ago
parent
commit
f39c5ac81b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      clients/js/Makefile

+ 1 - 1
clients/js/Makefile

@@ -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
 all: build