From 69d7a1085d2de2ec71f2cfe7f4960f68c1b58197 Mon Sep 17 00:00:00 2001 From: Dick van den Brink Date: Tue, 22 Jul 2014 07:08:27 +0200 Subject: [PATCH] Add node_modules\.bin to path. Fixes browserify task when browserify isn't installed globally. --- Jakefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Jakefile b/Jakefile index 37242552526..a25fb8a9b0d 100644 --- a/Jakefile +++ b/Jakefile @@ -17,6 +17,9 @@ var LKGDirectory = "bin/"; var copyright = "CopyrightNotice.txt"; var thirdParty = "ThirdPartyNoticeText.txt"; +// add node_modules to path so we don't need global modules, prefer the modules by adding them first +process.env.path = path.resolve("./node_modules/.bin/") + path.delimiter + process.env.path; + var compilerSources = [ "core.ts", "sys.ts",