Skip to content

Instantly share code, notes, and snippets.

@dgieselaar
Created October 20, 2014 14:37
Show Gist options
  • Save dgieselaar/24113786421b27c96f2f to your computer and use it in GitHub Desktop.
Save dgieselaar/24113786421b27c96f2f to your computer and use it in GitHub Desktop.
@IF EXIST "%~dp0\node.exe" (
"%~dp0\node.exe" "%~dp0\..\bower\bin\bower" %*
) ELSE (
@SETLOCAL
@SET PATHEXT=%PATHEXT:;.JS;=;%
node "%~dp0\..\bower\bin\bower" %*
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment