node/deps/npm/node_modules/.bin/node-gyp.cmd

7 lines
190 B
Batchfile

@IF EXIST "%~dp0\node.exe" (
"%~dp0\node.exe" "%~dp0\..\node-gyp\bin\node-gyp.js" %*
) ELSE (
@SETLOCAL
@SET PATHEXT=%PATHEXT:;.JS;=;%
node "%~dp0\..\node-gyp\bin\node-gyp.js" %*
)