pixsy/node_modules/.bin/acorn.cmd

7 lines
172 B
Batchfile
Raw Normal View History

2017-12-22 17:22:08 +00:00
@IF EXIST "%~dp0\node.exe" (
"%~dp0\node.exe" "%~dp0\..\acorn\bin\acorn" %*
) ELSE (
@SETLOCAL
@SET PATHEXT=%PATHEXT:;.JS;=;%
node "%~dp0\..\acorn\bin\acorn" %*
)