"Fossies" - the Fresh Open Source Software Archive

Member "Atom/resources/app/apm/bin/npm.cmd" (7 Feb 2017, 267 Bytes) of archive /windows/misc/atom-windows.zip:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) DOS Batch source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 @echo off
    2 setlocal EnableDelayedExpansion
    3 
    4 set "PATH=%~dp0;%PATH%"
    5 set "maybe_node_gyp_path=%~dp0\..\node_modules\node-gyp\bin\node-gyp.js"
    6 if exist "%maybe_node_gyp_path%" (
    7   set "npm_config_node_gyp=%maybe_node_gyp_path%"
    8 )
    9 "%~dp0\..\node_modules\.bin\npm.cmd" %*