Skip to content

Commit 67fffed

Browse files
committed
Use npm-bin to add to makefile $PATH
Just in case anyone in the future ever changes the default (currently `node_modules/.bin` of where executables exported by npm packages are stored.
1 parent 95d748f commit 67fffed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# This lets us use the dependency node modules with executable parts to them as
22
# if they were in $PATH like usual system programs.
3-
export PATH := node_modules/.bin:$(PATH)
3+
export PATH := $(shell npm bin):$(PATH)
44

55
SRC = $(shell find src -name "*.ls" -type f | sort)
66
LIB = $(SRC:src/%.ls=lib/%.js)

0 commit comments

Comments
 (0)